php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50562 FILTER_VALIDATE_URL is broken
Submitted: 2009-12-23 16:41 UTC Modified: 2010-04-01 04:39 UTC
From: philip@php.net Assigned: rasmus (profile)
Status: Closed Package: Filter related
PHP Version: 5.3.2RC1 OS: N/A
Private report: No CVE-ID: None
 [2009-12-23 16:41 UTC] philip@php.net
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. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-30 04:32 UTC] philip@php.net
-Type: Feature/Change Request +Type: Bug -Package: Feature/Change Request +Package: Filter related
 [2010-04-01 04:39 UTC] philip@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
 [2010-04-01 04:39 UTC] philip@php.net
Rasmus fixed this bug in SVN.
- http://svn.php.net/viewvc?view=revision&revision=297250
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC