Bug #13338 Updated: PATH_TRANSLATED variable incorrectly set in v4.0.5
| From: | mfischer@php.net | Date: | Wed, 21 Nov 2001 23:47:04 +0000 |
| Subject: | Bug #13338 Updated: PATH_TRANSLATED variable incorrectly set in v4.0.5 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71334@lists.php.net to get a copy of this message | ||
ID: 13338
Updated by: mfischer
Reported By: schaefer@jobpilot.com
Old Status: Open
Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.0.5
New Comment:
Can you try latest RC and see if the problem still exists
http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
Feedback.
Previous Comments:
------------------------------------------------------------------------
[2001-09-17 05:32:43] schaefer@jobpilot.com
Hi,
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).
in 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.12.
Best Regards,
Arno Schaefer
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13338&edit=1