[openstreetmap/openstreetmap-website] Fully encode wikipedia tag values (PR #4887)
Anton Khorev
notifications at github.com
Sat Jun 8 13:06:39 UTC 2024
Fix https://github.com/openstreetmap/openstreetmap-website/issues/4851 by using the opposite approach to #4855 and what's currently deployed: urlencode everything unless it needs to be unencoded. Things that are not urlencoded:
- `:` in language prefix
- `#` before article section name
Urls will get uglier, especially non-English ones.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4887
-- Commit Summary --
* Fully encode wikipedia tag values
-- File Changes --
M app/helpers/browse_tags_helper.rb (21)
M test/helpers/browse_tags_helper_test.rb (12)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4887.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4887.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4887
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4887 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240608/5e229ac4/attachment.htm>
More information about the rails-dev
mailing list