#47385 [NEW]: PHP as thttpd module: $_SERVER["PATH_INFO"] is always '/'
| From: | ivan_ma at telecable dot es | Date: | Sat, 14 Feb 2009 12:02:21 +0000 |
| Subject: | #47385 [NEW]: PHP as thttpd module: $_SERVER["PATH_INFO"] is always '/' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-133829@lists.php.net to get a copy of this message | ||
From: ivan_ma at telecable dot es
Operating system: GNU/Linux
PHP version: 5.3.0beta1
PHP Bug Type: Other web server
Bug description: PHP as thttpd module: $_SERVER["PATH_INFO"] is always '/'
Description:
------------
There is a problem with $_SERVER["PATH_INFO"] using PHP as a thttpd SAPI
module, it is always "/"
URL: http://dreambox:81/foro/info.php
_SERVER["PHP_SELF"] /foro/info.php
_SERVER["REQUEST_URI"] /foro/info.php
_SERVER["PATH_TRANSLATED"] /hdd/www/foro/info.php
_SERVER["SCRIPT_NAME"] /foro/info.php
_SERVER["PATH_INFO"] /
Reproduce code:
---------------
<?php
print($_SERVER['PATH_INFO']);
?>
Expected result:
----------------
A correct PATH_INFO
Actual result:
--------------
PATH_INFO is set to "/" always.
--
Edit bug report at http://bugs.php.net/?id=47385&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47385&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47385&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47385&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47385&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47385&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47385&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47385&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47385&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47385&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47385&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47385&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47385&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47385&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47385&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47385&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47385&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47385&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47385&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47385&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47385&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47385&r=mysqlcfg