| Summary: | wget doesn't handle IDN domains | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | bouloumag |
| Component: | wget | Assignee: | Tomáš Hozza <thozza> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | karsten, micah |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-10 17:36:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
bouloumag
2011-02-25 12:30:44 UTC
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 |