[openstreetmap/openstreetmap-website] Use end-of-string termination check when validating urls (#2570)

Tom Hughes notifications at github.com
Thu Mar 26 22:45:51 UTC 2020


If you fix the hostname match to not match delimiters like `:` and `/` then it does [break](https://regex101.com/r/sZ7gEN/1).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2570#issuecomment-604725727
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200326/804d838f/attachment.htm>


More information about the rails-dev mailing list