Bug #14622: Broken SERVER_SIGNATURE
| From: | darren dot shukri at conchango dot com | Date: | Thu, 20 Dec 2001 15:12:56 +0000 |
| Subject: | Bug #14622: Broken SERVER_SIGNATURE | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74593@lists.php.net to get a copy of this message | ||
From: darren.shukri@conchango.com
Operating system: Linux knl2.4 and Win2K Server
PHP version: 4.1.0
PHP Bug Type: PHP options/info functions
Bug description: Broken SERVER_SIGNATURE
Both $SERVER_SIGNATURE and $HTTP_SERVER_VARS["SERVER_SIGNATURE"] return a
malformed result when Apache 1.3.2 has ServerSignature directive set to
EMail.
phpinfo returns the correct result under the heading "Apache Environment"
but the malformed one under "PHP Variables".
The malformed result for my installation is:
<ADDRESS>Apache-AdvancedExtranetServer/1.3.20 Server at <A
HREF=\"mailto:root@localhost\">gabriel.conchango.com</A>
Port
80</ADDRESS>
The problem seems to be that the \ characters are not being interpolated
and are thus corrupting the mailto: link in the resulting HTML
page-source.
I suspect (although I have not tested) that the same problem would occur
under other OSs/WebServers that use a server signature.
--
Edit bug report at: http://bugs.php.net/?id=14622&edit=1