]> git.openstreetmap.org Git - rails.git/commitdiff
Ensure that urls are only valid if the entire string is a url
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 1 Apr 2020 15:53:37 +0000 (17:53 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 1 Apr 2020 15:53:37 +0000 (17:53 +0200)
This replaces our homegrown regexps (that didn't quite work) with
ruby built-in regexps, and uses the termination anchor to ensure
that the entire string, not just the first part, is validated.


No differences found