diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2011-02-04 21:41:15 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2011-02-04 21:41:15 +0000 |
| commit | 218448bfa07b05494efacc1f5983dde91e16c251 (patch) | |
| tree | e71cc3cc32e56c7f9024759af9e61789f8334e48 /ext/filter | |
| parent | 07fb5ca429427fdcd42bdcef6efc9ee602cd66ee (diff) | |
| download | php-git-218448bfa07b05494efacc1f5983dde91e16c251.tar.gz | |
Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
Diffstat (limited to 'ext/filter')
| -rw-r--r-- | ext/filter/tests/015.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/filter/tests/015.phpt b/ext/filter/tests/015.phpt index a9c4a8cf48..7be849e76c 100644 --- a/ext/filter/tests/015.phpt +++ b/ext/filter/tests/015.phpt @@ -28,6 +28,7 @@ array(), 'news:news.php.net', 'file://foo/bar', "http://\r\n/bar", +"http://example.com:qq" ); foreach ($values as $value) { var_dump(filter_var($value, FILTER_VALIDATE_URL)); @@ -70,6 +71,7 @@ string(17) "news:news.php.net" string(14) "file://foo/bar" bool(false) bool(false) +bool(false) string(10) "http://qwe" bool(false) bool(false) |
