Re: Better RFC conformance for FILTER_VALIDATE_URL
| From: | Andrey Andreev | Date: | Wed, 05 Nov 2014 23:32:06 +0000 |
| Subject: | Re: Better RFC conformance for FILTER_VALIDATE_URL | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78759@lists.php.net to get a copy of this message | ||
Hi,
On Wed, Nov 5, 2014 at 11:57 PM, Kévin Dunglas <dunglas@gmail.com> wrote:
>
> - Added a new FILTER_VALIDATE_DOMAIN filter validating domain names
> - Added a FILTER_FLAG_HOSTNAME flag to allow checking hostnames (_ are
> forbidden in hostname but not in domains)
This doesn't make any sense. A domain *is* a hostname and underscores
are forbidden.
Cheers,
Andrey.