Skip Menu |

This queue is for tickets about the HTTP-Recorder CPAN distribution.

Report information
The Basics
Id: 48574
Status: new
Priority: 0/
Queue: HTTP-Recorder

People
Owner: Nobody in particular
Requestors: knb [...] gfz-potsdam.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: creates invalid xhtml
JS injection by HTTP recorder creates invalid xhtml. There is no longer a single root element, and therefore the xhtml is invalid, and the browser doesnt even display the page anymore, but instead displays this: XML-Verarbeitungsfehler: Syntax-Fehler Adresse: http://www.clean-altmark.org/front_content.php Zeile Nr. 1, Spalte 63:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> --------------------------------------------------------------^ I think the following <script> tag has been injected by HTTP::Recorder. It should be injected in the <head> section somewhere, instead of immediately after the document type declaration. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <SCRIPT LANGUAGE="JavaScript"> <!-- // start // find the top-level opener window var opwindow = window.opener; while (opwindow.opener) { opwindow = opwindow.opener; } // update it with HTTP::Recorder's control panel if (opwindow) { opwindow.location = "http://http-recorder/"; } // end --> </SCRIPT> <html> <head>