#68049 filter_var echo wrong result for a url

From: Date: Sun, 21 Sep 2014 08:42:01 +0000
Subject: #68049 filter_var echo wrong result for a url
Groups: php.internals 
Request: Send a blank email to internals+get-77410@lists.php.net to get a copy of this message
Hi, According to https://bugs.php.net/bug.php?id=51192 , valid URLs cannot contain underscores. The following bug was reported a couple days ago: https://bugs.php.net/bug.php?id=68049 The thing is, browsers *do* accept the underscore in URLs. Should the rfc3986 <http://tools.ietf.org/html/rfc3986#section-3.2.2> be respected, or should PHP be lenient like browsers and accept more? Regards, *Florian Margaine*

« previous php.internals (#77410) next »