bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget fails to encode spaces in URLs


From: Volker Kuhlmann
Subject: Re: [Bug-wget] wget fails to encode spaces in URLs
Date: Thu, 09 Jun 2011 00:08:43 +1200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Hi Giuseppe,

> I see it now, thanks.  This small patch makes sure the url is parsed in
> any case.

> === modified file 'src/retr.c'

> -      /* Need to reparse the url, since it didn't have iri information. */
> -      if (opt.enable_iri)
> -          parsed_url = url_parse (cur_url->url->url, NULL, tmpiri, true);
> +      parsed_url = url_parse (cur_url->url->url, NULL, tmpiri, true);


Yes that's the location I was referring to, url_parse() was not always
called.

Works now at least for the test case I posted earlier.

Thanks for fixing this!

Volker

-- 
Volker Kuhlmann
http://volker.dnsalias.net/



reply via email to

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