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

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


It would probably be more sensible to use something like https://github.com/perfectline/validates_url rather than rolling our own terribly broken regex...

-- 
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-604727439
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200326/f442877c/attachment.htm>


More information about the rails-dev mailing list