Skip to content

Commit e049280

Browse files
authored
Upgrade URL pattern for Str::isUrl() (#5917)
1 parent 37f76fa commit e049280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Cases/ValidationValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2515,6 +2515,7 @@ public static function validUrls()
25152515
['http://localhost/url.php'],
25162516
['http://local.dev'],
25172517
['http://google.com'],
2518+
['http://goog_le.com'],
25182519
['http://www.google.com'],
25192520
['https://google.com'],
25202521
['http://illuminate.dev'],
@@ -2540,7 +2541,6 @@ public static function invalidUrls()
25402541
['://google.com'],
25412542
['http ://google.com'],
25422543
['http:/google.com'],
2543-
['http://goog_le.com'],
25442544
['http://google.com::aa'],
25452545
['http://google.com:aa'],
25462546
['http://127.0.0.1:aa'],

0 commit comments

Comments
 (0)