Re: Better RFC conformance for FILTER_VALIDATE_URL

From: Date: Thu, 06 Nov 2014 13:45:03 +0000
Subject: Re: Better RFC conformance for FILTER_VALIDATE_URL
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-78817@lists.php.net to get a copy of this message
Hi, On Thu, Nov 6, 2014 at 3:39 PM, Kévin Dunglas <dunglas@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.

« previous php.internals (#78817) next »