#43478 [Opn->Csd]: PHP_SELF creates double path entry

From: Date: Mon, 03 Dec 2007 10:50:26 +0000
Subject: #43478 [Opn->Csd]: PHP_SELF creates double path entry
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120298@lists.php.net to get a copy of this message
ID: 43478 Updated by: jani@php.net Reported By: uni_koeln at arcor dot de -Status: Open +Status: Closed Bug Type: CGI related Operating System: XP PHP Version: 5.2.5 Previous Comments: ------------------------------------------------------------------------ [2007-12-03 08:48:58] uni_koeln at arcor dot de Perhaps I posted this too quickly. Now I found out, that the directive cgi.fix_pathinfo is 1 by default. So it seems, that al I have to do is to set cgi.fix_pathinfo = 0 in php.ini. Kind regards Karl ------------------------------------------------------------------------ [2007-12-02 16:51:42] uni_koeln at arcor dot de Description: ------------ Seems like the same as in http://bugs.php.net/bug.php?id=43247 or http://bugs.php.net/bug.php?id=42699 No idea, why this topics (#42699, #43247) are closed. It seems that this bug still appears not only with Abyss Webserver. It appears in connection with other servers too i.e. Q'n'E <http://www.pablosoftwaresolutions.com/>, where the script is strictly parsed by the php interpreter. This bug appears since 5.2.4 and is not corrected yet. I also tried the CVS snapshot http://snaps.php.net/win32/php5.3-win32-latest.zip Kind regards, Karl Reproduce code: --------------- <?php echo $_SERVER['PHP_SELF']; ?> Expected result: ---------------- /testself/testself.php Actual result: -------------- /testself/testself.php/testself/testself.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43478&edit=1

« previous php.bugs (#120298) next »