Page 1 of 1

PATH_INFO bug?

PostPosted: 14. April 2008 09:48
by Janghou
PROBLEM: PATH_INFO deletes trailing dot in XAMPP 1.6.6

Consider this url:
www.example.com/test/Jansen_N.V.

Code: Select all
echo $_SERVER['PATH_INFO'];

test/Jansen_N.V

Code: Select all
echo $_SERVER['REQUEST_URI'];

test/Jansen_N.V.

Where is the traling dot in PATH_INFO?

I'm not sure if this is a new introduced PHP bug in 5.2.5 or APACHE related.

On my production server (PHP 5.1) $_SERVER['PATH_INFO'] and $_SERVER['REQUEST_URI'] delivers the same

Using XAMPP 1.6.6a/php 5.2.5. on WIN XP

PostPosted: 14. April 2008 09:56
by Janghou
Well:

bug confirmed here
http://bugs.php.net/bug.php?id=44001

Already solved in PHP as it seems, but not yet updated in the Xampp installation unfortunately.