ID: 14622
Updated by: sander
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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


-- 
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