Bug #17511: PATH_TRANSLATED variable incorrectly set since PHP 4.0.5
| From: | schaefer at jobpilot dot com | Date: | Wed, 29 May 2002 17:41:20 +0000 |
| Subject: | Bug #17511: PATH_TRANSLATED variable incorrectly set since PHP 4.0.5 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8865@lists.php.net to get a copy of this message | ||
From: schaefer@jobpilot.com
Operating system: Linux 2.2/SuSE 6.4
PHP version: 4.1.2
PHP Bug Type: Variables related
Bug description: PATH_TRANSLATED variable incorrectly set since PHP 4.0.5
Hi,
I had to generate a new bug report, since a bug in your bug tracking
system prevented me from editing the original one.
between version 4.0.4 and 4.0.5 the setting of the PATH_TRANSLATED
variable changed. In version
4.0.4, the following URL
http://www1.jobpilot.de/test.phtml/bla/fasel
resulted in the following PATH_TRANSLATED value:
/JobsAdverts/OnlineServer/web/de/test.phtml
(which is the correct script file name).
ever since 4.0.5, the same URL results in the following value:
/JobsAdverts/OnlineServer/web/de/bla/fasel
which does not look right. According to the documentation, PATH_TRANSLATED
is the "Filesystem- (not document root-) based path to the current script,
after the server has done any virtual-to-real mapping. "
BTW. the documentation should make it clear what is the difference between
PATH_TRANSLATED and SCRIPT_FILENAME - from to the current explanation, I
don't understand it.
BTW we are using Apache 1.3.23.
Best Regards,
Arno Schaefer
--
Edit bug report at http://bugs.php.net/?id=17511&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17511&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17511&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17511&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17511&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17511&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17511&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17511&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17511&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17511&r=globals