Skip to content

Commit

Permalink
WW-4834 fixed faulty regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sdutry committed Aug 2, 2017
1 parent 9d47af6 commit 8a04e80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class URLValidator extends FieldValidatorSupport {
"@)?#?" +
"(?:(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)*" +
"[a-z][a-z0-9-]*[a-z0-9]" +
"|(?:[1-9]?\\d|1\\d{2}|2[0-4]\\d|25[0-5]\\.){3}" +
"|(?:(?:[1-9]?\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}" +
"[1-9]?\\d|1\\d{2}|2[0-4]\\d|25[0-5]" +
")(?::\\d+)?" +
")(?:(?:/(?:[a-z0-9$_.+!*'(),;:@&=\\-]|%[0-9a-f]{2})*)*" +
Expand Down

0 comments on commit 8a04e80

Please sign in to comment.