Bug #13338: PATH_TRANSLATED variable incorrectly set in v4.0.5

From: Date: Mon, 17 Sep 2001 09:32:43 +0000
Subject: Bug #13338: PATH_TRANSLATED variable incorrectly set in v4.0.5
Groups: php.dev 
Request: Send a blank email to php-dev+get-66097@lists.php.net to get a copy of this message
From: schaefer@jobpilot.com Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Unknown/Other Function Bug description: PATH_TRANSLATED variable incorrectly set in v4.0.5 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 bug report at: http://bugs.php.net/?id=13338&edit=1

« previous php.dev (#66097) next »