|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-04-26 03:08 UTC] graham at grahamweldon dot com
-Operating System: OSX 10.5.6
+Operating System: OSX 10.5.3
[2010-04-26 03:08 UTC] graham at grahamweldon dot com
[2012-02-14 22:22 UTC] hairmare at purplehaze dot ch
[2012-02-15 00:07 UTC] rasmus@php.net
-Type: Feature/Change Request
+Type: Documentation Problem
[2012-02-15 00:07 UTC] rasmus@php.net
[2012-02-15 01:26 UTC] graham at grahamweldon dot com
[2012-02-15 04:04 UTC] rasmus@php.net
-Type: Documentation Problem
+Type: Feature/Change Request
[2012-02-15 04:04 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 13:00:01 2025 UTC |
Description: ------------ Tested using PHP 5.2.13 and PHP 5.3.1 Supply of an invalid IP address as the host part of a URL passes the filter_var validation. I propose that validation should fail if an invalid IP address is provided in URL validation. Test script: --------------- var_dump(filter_var('http://999.123.999.123', FILTER_VALIDATE_URL)); Expected result: ---------------- bool(false) Actual result: -------------- string(22) "http://999.123.999.123"