Skip to content

Commit d361abf

Browse files
committed
document url protocols
1 parent f6c0faf commit d361abf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

validation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,14 @@ The field under validation must be uppercase.
18091809

18101810
The field under validation must be a valid URL.
18111811

1812+
If you would like to specify the URL protocols that should be considered valid, you may pass the protocols as validation rule parameters:
1813+
1814+
```php
1815+
'url' => 'url:http,https',
1816+
1817+
'game' => 'url:minecraft,steam',
1818+
```
1819+
18121820
<a name="rule-ulid"></a>
18131821
#### ulid
18141822

0 commit comments

Comments
 (0)