Hi, On Thu, Nov 6, 2014 at 3:39 PM, Kévin Dunglas <dung...@gmail.com> wrote: > FILTER_VALIDATE_DOMAIN checks conformance with DNS RFCs : total length, > label length and allowed characters (_ are allowed in domain names but many > other characters are forbidden such as ~/+...). I'll add IDN support too > when IDN support for streams will be merged.
I am not trying to argue, but where does it say that ~/+ are disallowed, yet an underscore is? The only rule *allowing* underscores that I've seen is the one that says any binary string is a valid DNS record value. Cheers, Andrey. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php