From: Andy Allan Date: Wed, 1 Apr 2020 15:53:37 +0000 (+0200) Subject: Ensure that urls are only valid if the entire string is a url X-Git-Tag: live~3231^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a219df24ca8e621e8936bb9fc8b75f8f7f1e15da?hp=a219df24ca8e621e8936bb9fc8b75f8f7f1e15da Ensure that urls are only valid if the entire string is a url 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. ---