Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

stuff done

  • Loading branch information...
commit 523341394040bae64d54bea97d91fa1294a7e331 1 parent 7ea6a59
@Anonyfox authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  web/public/main.js
  2. +1 −1  web/wikimap.rb
View
2  web/public/main.js
@@ -4,7 +4,7 @@ $(document).ready(function() {
function wiki_ask() {
var query = $('#search').val();
- $.get("/ask?query="+query, function (data) {
+ $.get("/ask?query="+encodeURI(query), function (data) {
$('#options_list').html(data);
})
}
View
2  web/wikimap.rb
@@ -11,7 +11,7 @@
end
get '/ask' do
- @items = WikiClient.ask params["query"]
+ @items = WikiClient.ask URI.decode(params["query"])
haml :items
end
Please sign in to comment.
Something went wrong with that request. Please try again.