diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-12-26 10:58:37 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-12-26 23:29:23 +0100 |
commit | 901392cbb7939f43b7e7ed2b39135b45416a2714 (patch) | |
tree | fd74a1a6370ba56fcd76cd15cb052d352fbcb076 /lib/strerror.c | |
parent | cf174810db32c362775349e9afe5543c0e9cc18b (diff) | |
download | curl-901392cbb7939f43b7e7ed2b39135b45416a2714.tar.gz |
urlapi: add CURLU_PUNYCODE
Allows curl_url_get() get the punycode version of host names for the
host name and URL parts.
Extend test 1560 to verify.
Closes #10109
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index b9a51e26b..3d7193509 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -550,6 +550,9 @@ curl_url_strerror(CURLUcode error) case CURLUE_BAD_USER: return "Bad user"; + case CURLUE_LACKS_IDN: + return "libcurl lacks IDN support"; + case CURLUE_LAST: break; } |