Edit report at https://bugs.php.net/bug.php?id=61286&edit=1
ID: 61286
Comment by: reeze dot xia at gmail dot com
Reported by: galacticvoid+php at gmail dot com
Summary: If the trailing path that follows a script contains
a dot PATH_INFO is not set
Status: Open
Type: Bug
Package: Built-in web server
Operating System: OSX
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
I can't reproduce it in OSX. Are you sure you are running 5.4.0 but not
previous
RC versions?
Previous Comments:
------------------------------------------------------------------------
[2012-03-05 13:28:27] galacticvoid+php at gmail dot com
Description:
------------
If the trailing path that follows a script contains a dot the variable
$_SERVER['PATH_INFO'] is not set.
Test script:
---------------
<?php
echo $_SERVER['PATH_INFO'];
Request to:
http://locahost:8000/index.php/not.set
Expected result:
----------------
/not.set
Actual result:
--------------
PHP Notice: Undefined index: PATH_INFO ...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61286&edit=1