[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #45796] Parser should not translate anything between <sc

From: anonymous
Subject: [Bug-wget] [bug #45796] Parser should not translate anything between <script> tags
Date: Wed, 19 Aug 2015 09:19:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36


                 Summary: Parser should not translate anything between
<script> tags
                 Project: GNU Wget
            Submitted by: None
            Submitted on: 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: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 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



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
and </script>


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]