bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] URL rewriting when resource name is in a variable


From: Murali Ramanujam
Subject: [Bug-wget] URL rewriting when resource name is in a variable
Date: Sun, 16 Aug 2015 20:04:02 -0700 (PDT)

Hi


When I try to save the attached HTML page (original.html) with  wget -k -p, the 
resource path gets mangled in the rewrite process (saved.html is output of 
wget). 


The saved page gives a SyntaxError error when opened. In addition, it looks 
like wget is trying to rewrite the src to http://localhost/loc but it should be 
http://localhost/script.js.


Script.js is just console.log(1);


Is this a valid bug? Is there any way to get expected behaviour from wget in 
such a situation?




Thanks
Murali

Attachment: original.html
Description: Text document

Attachment: saved.html
Description: Text document


reply via email to

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