[Bug 1618923] Re: wget crashes on downloading non-ASCII resources

Amirhossein Goodarzi 1618923 at bugs.launchpad.net
Sat Sep 3 11:47:21 UTC 2016


for me When I try to Download a file contains a UTF-8 name with a Tab in
the name the wget shows me core dump error.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1618923

Title:
  wget crashes on downloading non-ASCII resources

Status in wget package in Ubuntu:
  Confirmed

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-disposition http://www.ex.ua/get/115661207
  --2016-08-31 17:21:24--  http://www.ex.ua/get/115661207
  Resolving www.ex.ua (www.ex.ua)... 186.2.163.200
  Connecting to www.ex.ua (www.ex.ua)|186.2.163.200|:80... connected.
  HTTP request sent, awaiting response... 302 Moved
  Location: http://fs42.www.ex.ua/get/ed7be0c7edfd41561e312f0ad29902de/115661207/17%20%D0%91%D1%80%D0%B0%D1%82%20%D0%97%D0%B0%20%D0%91%D1%80%D0%B0%D1%82%D0%B0.mp3 [following]
  --2016-08-31 17:21:24--  http://fs42.www.ex.ua/get/ed7be0c7edfd41561e312f0ad29902de/115661207/17%20%D0%91%D1%80%D0%B0%D1%82%20%D0%97%D0%B0%20%D0%91%D1%80%D0%B0%D1%82%D0%B0.mp3
  Resolving fs42.www.ex.ua (fs42.www.ex.ua)... 193.109.240.42
  Connecting to fs42.www.ex.ua (fs42.www.ex.ua)|193.109.240.42|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 8875676 (8.5M) [audio/mpeg]
  Saving to: ‘17 \320%91\321%80а\321%82 \320%97а \320%91\321%80а\321%82а.mp3’

  Segmentation fault (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1618923/+subscriptions



More information about the foundations-bugs mailing list