Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Description of problem: wget doesn't handle IDN domains right. Example : wget http://مثال.آزمایشی/ does not works. When I manually translate the IDN domain name to the "xn--" format, it works.
According to [1], there is a bug in iri.c causing international domain names not to be IDN encoded if the current locale is a UTF-8 one. [1] http://www.mail-archive.com/bug-wget@gnu.org/msg01598.html
Hi, Can you please include "Actual results" and "Expected results" for your issue? Thanks!
The problem is missing build requirement "libidn-devel". Therefore wget is compiled without GNU libidn library and doesn't support IDN domains. Without libidn (Wget 1.13.4 on Fedora 17): # wget http://중고차.com/ --2012-10-10 10:31:52-- http://%EC%A4%91%EA%B3%A0%EC%B0%A8.com/ Resolving 중고차.com... failed: Name or service not known. wget: unable to resolve host address `중고차.com' ----------------------------------------------------------------------- With libidn (Wget 1.13.4 on Fedora 17): # wget http://중고차.com/ --2012-10-10 10:37:44-- http://xn--299ap84c39b.com/ Resolving 중고차.com (xn--299ap84c39b.com)... 58.76.184.4 Connecting to 중고차.com (xn--299ap84c39b.com)|58.76.184.4|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 734 [text/html] Saving to: `index.html.2' 100%[=========================================================================================================================================================================>] 734 --.-K/s in 0s 2012-10-10 10:37:45 (42.4 MB/s) - `index.html.2' saved [734/734]
wget-1.13.4-7.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/wget-1.13.4-7.fc17
Package wget-1.13.4-7.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing wget-1.13.4-7.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16234/wget-1.13.4-7.fc17 then log in and leave karma (feedback).
wget-1.14-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2012-16225/wget-1.14-3.fc18