wget crashes on downloading non-ASCII resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wget (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
Is it possible to bump wget in Xenial to 1.18 or greater, it has an important change(from Changelog):
* When Wget is built with libiconv, it now converts non-ASCII URIs to
the locale's codeset when it creates files. The encoding of the
remote files and URIs is taken from --remote-encoding, defaulting to
UTF-8. The result is that non-ASCII URIs and files downloaded via
HTTP/HTTPS and FTP will have names on the local filesystem that
correspond to their remote names.
Which fixes incorrect filenames for non-ASCII files like that(sorry, you cannot download the url, it is only available in my country):
#wget --content-
--2016-08-31 17:21:24-- http://
Resolving www.ex.ua (www.ex.ua)... 186.2.163.200
Connecting to www.ex.ua (www.ex.
HTTP request sent, awaiting response... 302 Moved
Location: http://
--2016-08-31 17:21:24-- http://
Resolving fs42.www.ex.ua (fs42.www.ex.ua)... 193.109.240.42
Connecting to fs42.www.ex.ua (fs42.www.
HTTP request sent, awaiting response... 200 OK
Length: 8875676 (8.5M) [audio/mpeg]
Saving to: ‘17 \320%91\
Segmentation fault (core dumped)
Status changed to 'Confirmed' because the bug affects multiple users.