Bug #50562 [Opn->Csd]: FILTER_VALIDATE_URL is broken

[email protected] Thu, 1 Apr 2010 04:39:04 +0200 (CEST)
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at http://bugs.php.net/bug.php?id=50562&edit=1

 ID:               50562
 Updated by:       [email protected]
 Reported by:      [email protected]
 Summary:          FILTER_VALIDATE_URL is broken
-Status:           Open
+Status:           Closed
 Type:             Bug
 Package:          Filter related
 Operating System: N/A
 PHP Version:      5.3.2RC1
-Assigned To:      
+Assigned To:      rasmus

 New Comment:

Rasmus fixed this bug in SVN.
- http://svn.php.net/viewvc?view=revision&revision=297250


Previous Comments:
------------------------------------------------------------------------
[2009-12-23 16:41:06] [email protected]

Description:
------------
While attempting to use FILTER_VALIDATE_URL, I notice it gets negative 
press. Here's one such piece of press:

http://www.talkincode.com/php-filter-filter_validate_url-limitations-
124.html

Ideally FILTER_VALIDATE_URL would behave as most would expect, and 
that's checking if an URL is valid... as most people do with long-ish 
regular expressions.

Please also provide tips for how this should be documented. 



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50562&edit=1