<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4851.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2321963894" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4851" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/4851/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/4851">#4851</a>.</p>
<p dir="auto">I only escape <code class="notranslate">?</code>s. Maybe there are also other characters that need escaping, but we don't escape everything that's possible in the existing test cases.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4855'>https://github.com/openstreetmap/openstreetmap-website/pull/4855</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4855/commits/1ad3547d823c7a48d0729ff6969292bac90da395" class="commit-link">1ad3547</a>  Url-encode "?" characters in wikipedia tag values</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4855/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4855/files#diff-f787e682da0df0dd52c310ccf1d92b90b1245e4a8951f6f677ed90c09a38a9b2">app/helpers/browse_tags_helper.rb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4855/files#diff-3c9ba0f9198f856d54c920e1fdd7200521f9b34529cb7e4709eedce6845d5fb7">test/helpers/browse_tags_helper_test.rb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4855.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4855.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4855.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4855.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4855">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNHBOIP6XNYAC47CITZEV3PFAVCNFSM6AAAAABIOJCTN2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDENJRGU4DSMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOENNHHQPRYYKFIMHDZEV3PFA5CNFSM6AAAAABIOJCTN2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIU3WHWM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4855</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4855",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4855",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>