[openstreetmap-website] Can't add search as firefox keyword search (#714)

Simip Squid notifications at github.com
Fri Mar 7 20:03:39 UTC 2014


I've tried the non-manual right-click way described on http://kb.mozillazine.org/Using_keyword_searches#Creating_bookmarks_with_keywords to add the search,
but when I've used the search I got 404's.
When I add "http://www.openstreetmap.org/search?query=%s" the manual way (this can't be achieved just by changing the url of the existing 'non-manual' bookmark), search works.

The search only accepts GET requests, no PUSH requests.

The HTML of the front page sais:
```HTML
<form accept-charset="UTF-8" action="/search" class="search_form" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="base-64-string" /></div>
  <input name="commit" type="submit" value="Go" />
  <div class='query_wrapper'>
    <input id="query" name="query" placeholder="Search" type="text" />
    <a class="describe_location" href="#" title="Describe the current location using the search engine">Where am I?</a>
  </div>
</form>
```

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/714
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140307/33652a36/attachment.html>


More information about the rails-dev mailing list