[openstreetmap/openstreetmap-website] website key without "http" links to the OSM website (Issue #6407)
Tom Hughes
notifications at github.com
Sun Sep 21 21:29:21 UTC 2025
tomhughes left a comment (openstreetmap/openstreetmap-website#6407)
This is why we shouldn't try and linkify things - there's simply no way we can ever guess correctly what people mean when they can enter any old nonsense.
In this case we interpret whatever is entered there as a link, and a link with no host will therefore be interpreted as relative to the current page. I very much doubt we have ever done anything else but you're welcome to provide evidence that we used to do something else.
Probably we should just refuse to link anything which doesn't look like an absolute URL as there's no way to know what somebody might mean for other things.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6407#issuecomment-3316274733
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6407/3316274733 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250921/09088f09/attachment.htm>
More information about the rails-dev
mailing list