Issue #310 resolved

Remove XML prolog from CP error pages

Anonymous created an issue

Error pages sould not start with the XML prolog <xml ...> since IE6/win tries to parse them as an XML file... and fails miserably. ;(

BTW, XML prolog isn't needed at all by XHTML (see

Bonus feature: trackback should be HTML-escaped before sending it to the browser -- i've have funny looking trackbacks caused by non-escaped HTML elements.


Reported by deelan

Comments (4)

  1. Anonymous

    Attached is a trivial patch that escapes tracebacks and messges (that can contain html aswell)

    I also removed <?xml ...> and replaced it with <meta> tag for specifying encoding.

    Thanks to fumanchu on irc for all the help and sugjestions.

  2. Log in to comment