[openstreetmap/openstreetmap-website] Url-encode "?" characters in wikipedia tag values (PR #4855)

Anton Khorev notifications at github.com
Wed May 29 06:53:38 UTC 2024


Fixes #4851.

I only escape `?`s. Maybe there are also other characters that need escaping, but we don't escape everything that's possible in the existing test cases.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4855

-- Commit Summary --

  * Url-encode "?" characters in wikipedia tag values

-- File Changes --

    M app/helpers/browse_tags_helper.rb (4)
    M test/helpers/browse_tags_helper_test.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4855.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4855.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4855
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4855 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240528/85efb9ab/attachment.htm>


More information about the rails-dev mailing list