Apache2 SAPI behaviour regarding PATH_TRANSLATED
| From: | Moriyoshi Koizumi | Date: | Sat, 17 May 2003 20:47:28 +0000 |
| Subject: | Apache2 SAPI behaviour regarding PATH_TRANSLATED | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1639@lists.php.net to get a copy of this message | ||
Hi,
I had prepared a fix for bug #23610 (http://bugs.php.net/23610)
that complains PATH_TRANSLATED is not populated under Apache2 SAPI,
but I ended up reverting it as Shane told me that the patch was
technically wrong while that variable is designed to be set to
SCRIPT_FILENAME if it's absent under Apache1 SAPI.
After a short discussion on this issue with Ilia at php.bugs, I'm now
under the impression that the patch should be revisited, as the issue is
originally focused as a great BC break and there's no specification that
instructs us to make all SAPI act as if it was using CGI.
What do you think of this?
The patch was http://cvs.php.net/diff.php/php4/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.9&r2=1.1.2.10&ty=h
(for unified diff)
http://cvs.php.net/diff.php/php4/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.9&r2=1.1.2.10&ty=u
Moriyoshi