Skip to content

Commit

Permalink
Fix ambiguous pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Nov 13, 2017
1 parent 1722865 commit ea91e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Constraints/UrlValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class UrlValidator extends ConstraintValidator
(%s):// # protocol
(([\.\pL\pN-]+:)?([\.\pL\pN-]+)@)? # basic auth
(
([\pL\pN\pS-\.])+(\.?([\pL\pN]|xn\-\-[\pL\pN-]+)+\.?) # a domain name
([\pL\pN\pS\-\.])+(\.?([\pL\pN]|xn\-\-[\pL\pN-]+)+\.?) # a domain name
| # or
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} # an IP address
| # or
Expand Down

0 comments on commit ea91e49

Please sign in to comment.