Skip Menu |

This queue is for tickets about the CGI-Simple CPAN distribution.

Report information
The Basics
Id: 127154
Status: new
Priority: 0/
Queue: CGI-Simple

Owner: Nobody in particular
Requestors: info [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: CGI::Simple uses in method url() the env SCRIPT_NAME instead of preferred REQUEST_URI / SCRIPT_URI
Date: Thu, 20 Sep 2018 19:10:07 +0200
To: bug-CGI-Simple [...]
From: GwenDragon <info [...]>
Download (untitled) / with headers
text/plain 641b
Hello, I found a issue which may be a trap for users havin rewrites on the webserver. CGI::Simple does not use environment SCRIPT_URI or REQUEST_URI for the creation of content of method url(). That differs from, but is unfortunately not mentioned in perldoc. uses the URI sent to browser [i.e. request_uri()] which is a practical use if the server uses rewrites access to script. CGI::Simple uses script_name() which leads to problems if a internal rewrite occurs. Would be nice to get a patch to be compatible to behavior. uses (

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to