|
From: | Ben Fuchs |
Subject: | [Bug-wget] [bug #52404] wget -mk run twice wrongly fixes links in javascript files |
Date: | Tue, 14 Nov 2017 08:05:53 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL: <http://savannah.gnu.org/bugs/?52404> Summary: wget -mk run twice wrongly fixes links in javascript files Project: GNU Wget Submitted by: ben_fuchs Submitted on: Tue 14 Nov 2017 01:05:52 PM UTC Category: Program Logic Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: Angelo Fuchs Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.18 Operating System: GNU/Linux Reproducibility: Every Time Fixed Release: None Planned Release: None Regression: None Work Required: None Patch Included: None _______________________________________________________ Details: To reproduce: wget -mk http://steamnet.de/wget_broken_in_18/ wget -mk http://steamnet.de/wget_broken_in_18/ will produce a file "js/script.js" that looks like this: > someFunc=function(C){L=J('<a href="script.js#"></a>')}; but it should look like this: > someFunc=function(C){L=J('<a href="#"></a>')}; This worked in Version 16 I attached the files. script.js is how it should look like and does look like in version 16. script_broken.js is how it looks like in version 18. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 14 Nov 2017 01:05:52 PM UTC Name: index.html Size: 222B By: ben_fuchs <http://savannah.gnu.org/bugs/download.php?file_id=42399> ------------------------------------------------------- Date: Tue 14 Nov 2017 01:05:52 PM UTC Name: script_broken.js Size: 56B By: ben_fuchs <http://savannah.gnu.org/bugs/download.php?file_id=42400> ------------------------------------------------------- Date: Tue 14 Nov 2017 01:05:52 PM UTC Name: script.js Size: 47B By: ben_fuchs <http://savannah.gnu.org/bugs/download.php?file_id=42401> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52404> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |