Bug 150313 - libcurl: missing punycode conversion
Summary: libcurl: missing punycode conversion
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 3
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Michal Marek
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 08:59 UTC by Klaus Singvogel
Modified: 2006-02-13 15:38 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Singvogel 2006-02-13 08:59:20 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
Comment 1 Michal Marek 2006-02-13 12:25:54 UTC
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...
Comment 2 Andreas Jaeger 2006-02-13 15:21:06 UTC
Go ahead and submit it today, please!
Comment 3 Michal Marek 2006-02-13 15:38:30 UTC
OK.