bugGNU Wget - Bugs: bug #31419, --convert-links doesn't work if...

 
 

bug #31419: --convert-links doesn't work if link contains utf-8 characters

Submitted by:  None
Submitted on:  Fri 22 Oct 2010 06:00:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Manfred KoizarOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.12
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: No

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 24 Oct 2010 12:43:22 AM UTC, comment #3:

Attached one line change treats any difference between origurl and u->url like a redirection and seems to work for me. Don't know whether this counts as a fix or just a workaround ...

(file #21779)

Anonymous
Fri 22 Oct 2010 06:11:43 PM UTC, comment #2:

And here the description I lost on my first try:
The link in wgtest/index.html

should be converted to

But it isn't. OTOH the backreference

in wgtest/fürDich/test.html is successfully converted to

I suspect the problem lies in or near convert_links_in_hashtable() in convert.c.

Anonymous
Fri 22 Oct 2010 06:05:04 PM UTC, comment #1:

Second try, the test case:

Anonymous
Fri 22 Oct 2010 06:00:30 PM UTC, original submission:

Here is a test case for those who want to investigate closer:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21779:  02_convert_link.diff added by None (537B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sun 24 Oct 2010 12:43:22 AM UTCNoneAttached File-=>Added 02_convert_link.diff, #21779

Back to the top


Powered by Savane 3.1-cleanup1