Edit report at http://bugs.php.net/bug.php?id=53017&edit=1
ID: 53017 Updated by: ahar...@php.net Reported by: rudeboiidevil2k7 at hotmail dot co dot uk Summary: Problem of using filter_var() on a specific link -Status: Feedback +Status: Duplicate Type: Bug Package: Filter related Operating System: Mac Snow Leopard PHP Version: 5.3.3 Block user comment: N New Comment: Snow Leopard is currently still shipping 5.3.2 as standard, which suffered from bug #51192. This is fixed in 5.3.3. Marking duplicate; closing. Previous Comments: ------------------------------------------------------------------------ [2010-10-07 22:13:55] cataphr...@php.net Hum? Is this echoing "invalid" for you? I get "valid", which is what's expected. ------------------------------------------------------------------------ [2010-10-07 19:43:56] rudeboiidevil2k7 at hotmail dot co dot uk Detailed OS ------------------------------------------------------------------------ [2010-10-07 19:41:27] rudeboiidevil2k7 at hotmail dot co dot uk Description: ------------ There is a type of link that would always return false when checking if it is a valid link, a link such as: http://img8.warez-bb.org/images/wbb_logo_v2.jpg So that type of link (provided above) will always return false. Test script: --------------- if(filter_var('http://img8.warez-bb.org/images/wbb_logo_v2.jpg', FILTER_VALIDATE_URL)) { echo 'valid'; } else { echo 'not valid'; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53017&edit=1