|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64441 FILTER_VALIDATE_URL rejects fully qualified domain names
Submitted: 2013-03-16 22:25 UTC Modified: 2013-05-15 12:57 UTC
From: phpwnd at gmail dot com Assigned: pajoye
Status: Closed Package: Filter related
PHP Version: 5.5.0alpha5 OS:
Private report: No CVE-ID:
 [2013-03-16 22:25 UTC] phpwnd at gmail dot com
FILTER_VALIDATE_URL rejects fully qualified domain names even though parse_url() parses them just fine.

Test script:
var_dump(filter_var('', FILTER_VALIDATE_URL));

Expected result:
string(18) ""

Actual result:


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-15 12:57 UTC]
-Assigned To: +Assigned To: pajoye
 [2013-09-16 21:36 UTC]
Automatic comment on behalf of
Log: Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
 [2013-09-16 21:36 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 23:01:58 2014 UTC