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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philip@php.net
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 04:01:38 2024 UTC