Hi, I'll change my PR according to the RFC I've quoted earlier: - check for valid characters (excluding underscore) only when FILTER_FLAG_HOSTNAME is set - allow any character but check lengths by default - use FILTER_FLAG_HOSTNAME to validate URLs
What do you think about that? Best regards, 2014-11-12 7:38 GMT+01:00 Yasuo Ohgaki <yohg...@ohgaki.net>: > Hi all, > > On Fri, Nov 7, 2014 at 6:48 AM, Sanford Whiteman <figureone...@gmail.com> > wrote: > >> > FWIW, there *is* a practical in-use (de facto if nothing else) >> convention of using _ in hosts for DKIM: >> >> _domainkey is actually in all the DKIM RFCs and in the formal STD 76, >> see § 3.6.2.1. Namespace, so it's more than a convention! > > > "_" is used for service name. Active Directory uses "_" a lot, for > example. e.g. _tcp, _sites, _ldap, etc. > > https://tools.ietf.org/html/rfc2782 > > Regards, > > -- > Yasuo Ohgaki > yohg...@ohgaki.net > -- Kévin Dunglas http://dunglas.fr