#42699 [Com]: PHP_SELF duplicates path

From: Date: Wed, 19 Sep 2007 02:01:34 +0000
Subject: #42699 [Com]: PHP_SELF duplicates path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-117670@lists.php.net to get a copy of this message
ID: 42699 Comment by: w dot ashcroft at redfoxuk dot com 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: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#117670) next »