From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to