[openstreetmap/openstreetmap-website] Exclude non-http URLs from tag2link (PR #6587)
Marwin Hochfelsner
notifications at github.com
Thu Dec 4 19:07:05 UTC 2025
hlfan left a comment (openstreetmap/openstreetmap-website#6587)
The tg:// link template is dropped anyway, as it's third-party, and the tel links are caught before tag2link here:
https://github.com/openstreetmap/openstreetmap-website/blob/cc6413101fc00bd5261ab5fb7ef8053aee58b1c7/app/helpers/browse_tags_helper.rb#L173-L196
I'll add tests when the rest is clear.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6587#issuecomment-3613919191
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6587/c3613919191 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251204/0846509b/attachment-0001.htm>
More information about the rails-dev
mailing list