httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20047] New: - Wrong environment variables with multislash PATH_INFO
Date Mon, 19 May 2003 22:22:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20047>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20047

Wrong environment variables with multislash PATH_INFO

           Summary: Wrong environment variables with multislash PATH_INFO
           Product: Apache httpd-2.0
           Version: 2.0.45
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_env
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: andrea.busia@axis-sv.it
                CC: andrea.busia@axis-sv.it


I have a script with scriptname 
/prova.php
when I try to access it as

http://www.foo.com/prova.php/fdfd/fdsf//////

I find this environment variables:

REQUEST_URI => /prova.php/fdfd/fdsf////// (it's ok)
SCRIPT_NAME => /prova.php/fdfd/fdsf////   (it's wrong, it should 
be "/prova.php")
PATH_INFO => /fdfd/fdsf/ (it's wrong, it should be "/fdfd/fdsf//////")

I'm using Apache 2.0.45 compiled using this configure line:

./configure --enable-layout=RedHat --datadir=/home/httpd --enable-auth-digest --
enable-ext-filter --enable-cgi --enable-vhost-alias --disable-include --enable-
deflate --enable-mime-magic --enable-expires --enable-headers --enable-
usertrack --enable-unique-id --enable-http --disable-userdir --enable-so --with-
mpm=worker

Using 1.3.27 it works well.

Andrea Busia

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


Mime
View raw message