<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4851.">Fix</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> by using the opposite approach to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2322515891" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4855" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4855/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4855">#4855</a> and what's currently deployed: urlencode everything unless it needs to be unencoded. Things that are not urlencoded:</p>
<ul dir="auto">
<li><code class="notranslate">:</code> in language prefix</li>
<li><code class="notranslate">#</code> before article section name</li>
</ul>
<p dir="auto">Urls will get uglier, especially non-English ones.</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/4887'>https://github.com/openstreetmap/openstreetmap-website/pull/4887</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4887/commits/ebaae09797d245ad05f1c00c2f8359c8868fe14d" class="commit-link">ebaae09</a> Fully encode 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/4887/files">2 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4887/files#diff-f787e682da0df0dd52c310ccf1d92b90b1245e4a8951f6f677ed90c09a38a9b2">app/helpers/browse_tags_helper.rb</a>
(21)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4887/files#diff-3c9ba0f9198f856d54c920e1fdd7200521f9b34529cb7e4709eedce6845d5fb7">test/helpers/browse_tags_helper_test.rb</a>
(12)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4887.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4887.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4887.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4887.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/4887">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJBNAJ6PY6BPTAXTSLZGL6V7AVCNFSM6AAAAABI77KJIOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DCNRUHEZDMNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPDAUDEKEK4CINHII3ZGL6V7A5CNFSM6AAAAABI77KJIOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIXEV3OM.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/4887</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/4887",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4887",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>