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

 
 

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

Submitter:  None
Submitted:  Wed 19 Aug 2015 09:19:25 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Murali Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.16.3
Operating System:  Mac OS Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

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

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

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

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

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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-05 afeld Carbon-Copy- Added afeld

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code