This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 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.

In case anyone is reading along: I've asked for help on this matter:

  https://bugzilla.redhat.com/show_bug.cgi?id=1543021

The current libidn2 behavior does not make much sense to me.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]