bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [bug #50556] When using international TLD, instead of encodin


From: Tim Ruehsen
Subject: [Bug-wget] [bug #50556] When using international TLD, instead of encoding domain part using puny code, wget encodes it as precent encoding.
Date: Thu, 16 Mar 2017 07:24:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #50556 (project wget):

That is not quite correct:

$ wget президент.рф
--2017-03-16 12:19:02--  http://xn--d1abbgf6aiiy.xn--p1ai/
Resolving xn--d1abbgf6aiiy.xn--p1ai (xn--d1abbgf6aiiy.xn--p1ai)...
95.173.136.80
...
2017-03-16 12:19:03 (362 KB/s) - ‘index.html.1’ saved [46752/46752]

Wget 1.19+ uses the underlying libidn2, which you can test with
$ idn2 президент.рф

Maybe your version of Wget isn't compiled with IRI support ?
Check
$ wget --version|grep iri
and
$ ldd /usr/bin/wget|grep libidn2


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50556>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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