Bug #64441 [Asn->Csd]: FILTER_VALIDATE_URL rejects fully qualified domain names
| From: | dsp@php.net | Date: | Mon, 16 Sep 2013 21:36:19 +0000 |
| Subject: | Bug #64441 [Asn->Csd]: FILTER_VALIDATE_URL rejects fully qualified domain names | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-181613@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64441&edit=1
ID: 64441
Updated by: dsp@php.net
Reported by: phpwnd at gmail dot com
Summary: FILTER_VALIDATE_URL rejects fully qualified domain
names
-Status: Assigned
+Status: Closed
Type: Bug
Package: Filter related
PHP Version: 5.5.0alpha5
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of syragg@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=18b54a2366dd589959240f8770bbb54be819f6e7
Log: Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
Previous Comments:
------------------------------------------------------------------------
[2013-03-16 22:25:42] phpwnd at gmail dot com
Description:
------------
FILTER_VALIDATE_URL rejects fully qualified domain names even though parse_url() parses them just
fine.
Test script:
---------------
var_dump(filter_var('http://example.com.',
FILTER_VALIDATE_URL));
Expected result:
----------------
string(18) "http://example.com."
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64441&edit=1