Bugzilla – Bug 150313
libcurl: missing punycode conversion
Last modified: 2006-02-13 15:38:30 UTC
I tried to download from a German Umlaut-Domain, and noticed that curl is not capable to translate the domain into a Punycode encoding, and therefore the download failed. Example: curl http://www.gunnar-gröbel.de/assets/images/Verkehr/239.gif -o 239.gif should be converted (internaly) to: curl http://www.xn--gunnar-grbel-djb.de/assets/images/Verkehr/239.gif -o 239.gif Please note: konqueror and mozilla can display 'http://www.gunnar-gröbel.de/assets/images/Verkehr/239.gif' For more information about Punycode look at http://www.ietf.org/rfc/rfc3492.txt or http://en.wikipedia.org/wiki/Punycode
There already is IDN support in curl, it's just not enabled in our package ;) Andreas, can I still submit it an IDN-enabled curl package? BTW: $ wget http://www.gunnar-gröbel.de/assets/images/Verkehr/239.gif --12:44:49-- http://www.gunnar-gr%C3%B6bel.de/assets/images/Verkehr/239.gif => `239.gif' Resolving www.gunnar-gr\303\266bel.de... failed: Dočasná chyba při vyhodnocování jména. $ ping www.gunnar-gröbel.de ping: unknown host www.gunnar-gröbel.de $ nmap www.gunnar-gröbel.de Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-02-13 12:56 CET Failed to resolve given hostname/IP: www.gunnar-gröbel.de. Note that you can't use '/mask' AND '[1-4,7,100-]' style IP ranges WARNING: No targets were specified, so 0 hosts scanned. Nmap finished: 0 IP addresses (0 hosts up) scanned in 25.008 seconds and so on...
Go ahead and submit it today, please!
OK.