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 48732] New: [BUG] environment variable SCRIPT_NAME output error
Date Fri, 12 Feb 2010 02:23:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48732

           Summary: [BUG] environment variable SCRIPT_NAME output error
           Product: Apache httpd-2
           Version: 2.0.63
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: qu-chunguang@necsoft.com.cn


<BUG REPRODUCTION>

1 install
./configure --prefix=/home/qcg/dev/save/apache2063 --enable-cgi --enable-cgid
make && make install
2 using 'cgi-bin/printenv' to print environment variables,
explorer url (with "//" path like under),
http://172.28.14.243:20630/cgi-bin/aa/bb/printenv/aa//bb
and return,
----
... ...
REQUEST_URI="/cgi-bin/printenv/aa//bb"
SCRIPT_FILENAME="/home/qcg/dev/save/apache2063/cgi-bin/printenv"
SCRIPT_NAME="/cgi-bin/printenv/aa"
... ...
----
SCRIPT_NAME should be "/cgi-bin/printenv"
we tested 2.0.59 has the same problem.

BUT 2.2.* seems no this problem.
we tested 2.2.4 in same way:
http://172.28.14.243:10080/cgi-bin/printenv/aa//bb
and return,
----
... ...
REQUEST_URI="/cgi-bin/printenv/aa//bb"
SCRIPT_FILENAME="/home/qcg/dev/save/apache2/cgi-bin/printenv"
SCRIPT_NAME="/cgi-bin/printenv"
... ...
----
SCRIPT_NAME is right.

<ON VERSION>
2.0.x
2.0.59 (has tested)
2.0.63 (has tested, newest 2.0.x)

<NOT ON VERSION>
2.2.*
2.2.4 (has tested)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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