httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55329] New: mod_proxy_fcgi does not urldecode PATH_INFO
Date Tue, 30 Jul 2013 20:12:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55329

            Bug ID: 55329
           Summary: mod_proxy_fcgi does not urldecode PATH_INFO
           Product: Apache httpd-2
           Version: 2.4.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_fcgi
          Assignee: bugs@httpd.apache.org
          Reporter: post@wickenrode.com

Take this url:

http://example.com/info.php/some%20url

to be some standard <?php phpinfo ?> page.

Using mod_php this will show:

_SERVER["REQUEST_URI"] = /info.php/some%20url
_SERVER["SCRIPT_NAME"] = /info.php
_SERVER["PATH_INFO"]   = /some url

Using mod_fcgid/mod_fastcgi it will show:

_SERVER["REQUEST_URI"] = /info.php/some%20url
_SERVER["SCRIPT_NAME"] = /info.php
_SERVER["PATH_INFO"]   = /some url

However using mod_proxy_fcgi it shows:

_SERVER["REQUEST_URI"] = /info.php/some%20url
_SERVER["SCRIPT_NAME"] = /info.php/some url
_SERVER["PATH_INFO"]   = /some%20url

So unlike the other modules mod_proxy_fcgi seems to not decode the URL.

(using the ProxyPassMatch rule from apache wiki)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message