php.net |  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
Status: Wont fix Package: Built-in web server
PHP Version: 5.4.5 OS: Windows 7
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

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

Test script:
---------------
<?php
echo($_SERVER['PHP_SELF']);
?>

Expected result:
----------------
/index.php

Actual result:
--------------
/index.php/

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-16 01:37 UTC] laruence@php.net
-Assigned To: +Assigned To: laruence
 [2012-08-17 12:44 UTC] laruence@php.net
-Status: Assigned +Status: Wont fix
 [2012-08-17 12:44 UTC] laruence@php.net
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.

Bye
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 12:02:07 2014 UTC