|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62818 $_SERVER['PHP_SELF'] problem
Submitted: 2012-08-14 15:12 UTC Modified: 2012-08-18 08:13 UTC
From: ciropellegrino at libero dot it Assigned: laruence (profile)
Status: Wont fix Package: Built-in web server
PHP Version: 5.4.5 OS: Windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ciropellegrino at libero dot it
New email:
PHP Version: OS:


 [2012-08-14 15:12 UTC] ciropellegrino at libero dot it
An extra character / is inserted in the superglobal $_SERVER['PHP_SELF']

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-16 01:37 UTC]
-Assigned To: +Assigned To: laruence
 [2012-08-17 12:44 UTC]
-Status: Assigned +Status: Wont fix
 [2012-08-17 12:44 UTC]
this behavior act the same as other webserver which supports PATH_INFO like apache
 [2012-08-18 08:13 UTC] ciropellegrino at libero dot it
Thanks for the explanation. 
I'm sorry for the false alarm.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 07:01:25 2023 UTC