We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1722865 commit ea91e49Copy full SHA for ea91e49
Constraints/UrlValidator.php
@@ -25,7 +25,7 @@ class UrlValidator extends ConstraintValidator
25
(%s):// # protocol
26
(([\.\pL\pN-]+:)?([\.\pL\pN-]+)@)? # basic auth
27
(
28
- ([\pL\pN\pS-\.])+(\.?([\pL\pN]|xn\-\-[\pL\pN-]+)+\.?) # a domain name
+ ([\pL\pN\pS\-\.])+(\.?([\pL\pN]|xn\-\-[\pL\pN-]+)+\.?) # a domain name
29
| # or
30
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} # an IP address
31
0 commit comments