Bug #14622 Updated: Broken SERVER_SIGNATURE
| From: | sander@php.net | Date: | Sat, 22 Dec 2001 20:12:54 +0000 |
| Subject: | Bug #14622 Updated: Broken SERVER_SIGNATURE | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74811@lists.php.net to get a copy of this message | ||
ID: 14622
Updated by: sander
Reported By: darren.shukri@conchango.com
Old Status: Open
Status: Bogus
Bug Type: PHP options/info functions
Operating System: Linux knl2.4 and Win2K Server
PHP Version: 4.1.0
New Comment:
Not a bug. Check your magic quotes settings.
Previous Comments:
------------------------------------------------------------------------
[2001-12-20 10:12:56] darren.shukri@conchango.com
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 this bug report at http://bugs.php.net/?id=14622&edit=1