bugGNU Wget - Bugs: bug #45796, Parser should not translate...


bug #45796: Parser should not translate anything between <script> tags

Submitted by:  None
Submitted on:  Wed 19 Aug 2015 09:19:25 AM UTC  
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: MuraliOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.16.3
Operating System: Mac OSReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed 19 Aug 2015 09:19:25 AM UTC, original submission:

I have the following script tag in the original web page.

var loc = "script.js";
document.write("<script src=" + loc + "><\/script>");

When I save it using wget -k -p, the corresponding saved file has the following script tag

var loc = "script.js";
document.write("<script src="http://localhost/+&#32;loc&#32;+"><\/script>");

The parser should not parse (and thus not translate) anything between <script>
and </script>



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by None (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup