-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Closed
Description
- Laravel Version: 7.x
- PHP Version: 7.4.5
- Database Driver & Version: MySQL 5.7 (irrelevant)
Description:
For some reason in Laravel 7.x the 'url' validator does not allow pipes (|) while Laravel 6.x does.
Steps To Reproduce:
Using Laravel 7.x run the following code:
$url = "https://laravel.com?foo=one|two";
$validator = Validator::make(
[
'url' => $url
],
[
'url' => 'url'
]
);
$validator->errors()->toArray();
Micky5991
Metadata
Metadata
Assignees
Labels
No labels