<p>I think we have to use something like that yes because it seems that <code>Rack::Utils::InvalidParameterError (invalid %-encoding (%s))</code> is being thrown, likely in the rack stack before rails gets control.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1101#issuecomment-162511930">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLZ1BJzPzKNpCXijfcO1DoJz5JPn8ks5pNXRNgaJpZM4GvvUA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1101#issuecomment-162511930"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>