| Q |
A |
| Bug report? |
no |
| Feature request? |
yes |
| BC Break report? |
no |
| RFC? |
no |
| Symfony version |
3.3.6 |
The Symfony\Component\Validator\Constraints\UrlValidator regex fails when not passing the protocol.
http://test.com/index.js => passes
https://test.com/index.js => passes
//test.dev/index.js => fails
//test.dev/index.js works perfectly in the browser but doesn't pass the validator