<p>I posted about this bug on the IRC channel <code>#osm</code> and was suggested to report it on <code>#osm-dev</code> as well as here. </p>
<h3>Issue</h3>
<p>You can bookmark the OSM search field as a search tag, and substituting <code>%s</code> with a search term or using the assigned keyword in the URL bar will work as expected. However, whilst on most other sites clicking on the bookmark itself will merely result in a search results (or equivalent) page with nothing but <code>%s</code> in the search field, doing so on OSM will yield an <code>HTTP 500</code> error.</p>
<p>(This feature is known as a <em>Smart Bookmark</em> (aka <em>Smart Keyword</em>). Basically, say if you designate the keyword <code>osmmap</code> for OSM's search function, if you type into the URL bar the string <code>osmmap toledo, ohio, usa</code>, it will automatically search the site itself through that. It's basically the <code>site:</code> operator minus the search engine being the one to show the results page.)<sup>1, 2</sup></p>
<h3>What I've Tried</h3>
<ul>
<li>Whitelisted OSM in NoScript. <em>Result</em>: Problem persists.</li>
<li>Tried it in Safe Mode in Firefox. <em>Result</em>: Problem persists.</li>
<li>Tried it in Incognito Mode in Chrome. <em>Result</em>: Problem persists.</li>
<li>IRC user <code>@chippy</code> tried it on their computer. <em>Result</em>: Problem persists.</li>
</ul>
<h3>Screenshots:</h3>
<ul>
<li>
<em>Firefox (Normal Mode)</em>: <a href="https://i.imgur.com/ISdkhu9.png">https://i.imgur.com/ISdkhu9.png</a>
</li>
<li>
<em>Firefox (Safe Mode)</em>: <a href="http://i.imgur.com/zg39S7l.png">http://i.imgur.com/zg39S7l.png</a>
</li>
<li>
<em>Chrome (Incognito Mode)</em>: <a href="http://i.imgur.com/7WSe4L8.png">http://i.imgur.com/7WSe4L8.png</a>
</li>
</ul>
<h3>Specs<sup>3</sup>
</h3>
<ul>
<li>
<em>Make & Model</em>: Dell Inspiron N5010</li>
<li>
<em>Operating System</em>: Ubuntu 15.04</li>
<li>
<em>Firefox Info</em>: v42.0 ("Mozilla Firefox for Canonical – 1.0") (Stable Channel)</li>
<li>
<em>Chrome Info</em>: 46.0.2490.86 (Official Build) (64-bit)</li>
</ul>
<h3>Notes</h3>
<ol>
<li><a href="https://support.mozilla.org/en-US/kb/how-search-from-address-bar">Firefox Smart Bookmarks</a></li>
<li><a href="https://en.wikipedia.org/wiki/Smart_Bookmarks">Wikipedia, <em>Smart Bookmarks</em></a></li>
<li>I don't know the specs of <code>@Chippy</code>'s setup.</li>
</ol>
<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">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLcykdFhzAaRPWlAYNblmbvXCZkzSks5pNIyMgaJpZM4GvvUA.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"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>