[PATCH] Switch IDNA implementation to libidn2 [BZ #19728] [BZ #19729] [BZ #22247]

Florian Weimer fweimer@redhat.com
Wed Feb 7 15:03:00 GMT 2018


On 02/02/2018 01:41 PM, Florian Weimer wrote:
> +* The AI_IDN_USE_STD3_ASCII_RULES and NI_IDN_USE_STD3_ASCII_RULES flags for
> +  the getaddrinfo and getnameinfo functions have been deprecated.  The STD3
> +  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 
area.

Florian



More information about the Libc-alpha mailing list