#42699 [Asn]: PHP_SELF duplicates path
ID: 42699
User updated by: vvv at colocall dot net
Reported By: vvv at colocall dot net
Status: Assigned
Bug Type: CGI related
Operating System: FreeBSD 6.2, apache 2.2.6
PHP Version: 5.2CVS-2007-09-18
Assigned To: dmitry
New Comment:
The problem has gone after recompiling without
--disable-path-info-check.
FreeBSD port applies this option by default.
Previous Comments:
------------------------------------------------------------------------
[2007-09-19 02:01:33] w dot ashcroft at redfoxuk dot com
I noticed the bug fix for #42523 was a specific workaround for when the
server software CGI variable was set as Microsoft-IIS; so clearly the
"hack" fix for #42523 needs to be done properly if it doesn't fix the
problem completely.
------------------------------------------------------------------------
[2007-09-18 12:23:33] jani@php.net
Dmitry, can you check this out please.
------------------------------------------------------------------------
[2007-09-18 11:22:00] vvv at colocall dot net
I've tried php5.2-200709180830 before submitting the bug.
I've got the same behavior as using php-5.2.4.
------------------------------------------------------------------------
[2007-09-18 10:51:34] vvv at colocall dot net
Description:
------------
Path appears to be duplicated.
The bug is absolutely the same as #42523, but not related to
WinXP/IIS.
Reproduce code:
---------------
echo $_SERVER['PHP_SELF'];
Expected result:
----------------
/path/test.php
Actual result:
--------------
/path/test.php/path/test.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42699&edit=1
Thread (10 messages)