Edit report at https://bugs.php.net/bug.php?id=64441&edit=1
ID: 64441 Updated by: d...@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 syr...@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