PATH_INFO bug?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PATH_INFO bug?

Postby Janghou » 14. April 2008 09:48

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
Janghou
 
Posts: 2
Joined: 14. April 2008 09:35

Postby Janghou » 14. April 2008 09:56

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.
Janghou
 
Posts: 2
Joined: 14. April 2008 09:35


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 63 guests