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


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