php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50043 PHP_SELF duplicates path again
Submitted: 2009-10-30 16:53 UTC Modified: 2009-10-30 17:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ahu at 52q dot net Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 5.2.11 OS: Windows xp sp3
Private report: No CVE-ID: None
 [2009-10-30 16:53 UTC] ahu at 52q dot net
Description:
------------
PHP_SELF duplicates path again!!!!!!!

somebody had reported this problem servel years ago at http://bugs.php.net/bug.php?id=42523 
And at the end I saw you said you fixed it.But it appears again now.
How dispirited I am,when I spent a lot time search and search...from China to you here.:(

nginx/0.8.21+php5.2.11 on Windows XP sp3

Reproduce code:
---------------
phpinfo();

Expected result:
----------------
/phpinfo.php

Actual result:
--------------
/phpinfo.php/phpinfo.php

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-30 17:18 UTC] ahu at 52q dot net
It maybe the problem of nginx.
 [2010-08-07 20:42 UTC] kwils13 at gmail dot com
confirmed nginx issue. comment out SCRIPT_NAME in fastcgi_params.  Know however 
that will break some CMS systems like Joomla (see: 
http://forum.nginx.org/read.php?11,10324,10475 as it apparently needs both)
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jan 21 16:01:23 2021 UTC