This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Switch IDNA implementation to libidn2 [BZ #19728] [BZ #19729] [BZ #22247]
On 02/07/2018 03:14 PM, Florian Weimer wrote:
On 02/02/2018 01:41 PM, Florian Weimer wrote:
+* The AI_IDN_USE_STD3_ASCII_RULES and NI_IDN_USE_STD3_ASCII_RULES
+ the getaddrinfo and getnameinfo functions have been deprecated.
+ restriction (rejecting '_' in host names, among other things) has been
+ removed, for increased compatibility with non-IDN name resolution.
This part is not true. My intent was to allow _ in host names for IDNA
names (but not $ and other shell meta-characters), but the patch does
not achieve that. I need to check what libidn2 actually offers in this
In case anyone is reading along: I've asked for help on this matter:
The current libidn2 behavior does not make much sense to me.