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

2011-06-09 Thread Volker Kuhlmann
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,

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

2011-06-08 Thread Giuseppe Scrivano
Hi Volker, I see it now, thanks. This small patch makes sure the url is parsed in any case. Cheers, Giuseppe === modified file 'src/retr.c' --- src/retr.c 2011-06-05 12:31:24 + +++ src/retr.c 2011-06-08 09:29:20 + @@ -1005,9 +1005,7 @@ break; } - /* Need

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

2011-06-05 Thread Volker Kuhlmann
wget --version GNU Wget 1.12 built on linux-gnu. To reproduce: Go to any sourceforge project and download a file whos URL contains a space. Copy the direct link from the download page into wget -i- Run wireshark and press ^D in the wget input stream. If the upstream strips spaces (e.g.

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

2011-06-05 Thread Giuseppe Scrivano
Hi Volker, thanks to have reported this bug but it was fixed in the development version of wget and the fix will be included in the next release. Can you please confirm if it works for you? You can fetch a source tarball here: ftp://alpha.gnu.org/gnu/wget/wget-1.12-2504.tar.bz2 Thanks,