Skip to content
Browse files

FIX: URL UTF-8 decoding issue

  • Loading branch information...
1 parent edaa1dd commit 64c803dc585c039a15eb082e078863ea989b9237 @timesselens committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 html/js/script.js
View
2 html/js/script.js
@@ -372,7 +372,7 @@ var belaws = (function($) {
var params = {};
for (var i=0; i < searchpairs.length; i++) {
var pair = searchpairs[i].split(/=/);
- params[pair[0]] = pair[1];
+ params[pair[0]] = decodeURIComponent(pair[1]);
}
if(params.q) {
urlQuerySearch = params.q ? [null, params.q] : null; // expects array

0 comments on commit 64c803d

Please sign in to comment.
Something went wrong with that request. Please try again.