diff --git a/lib/util/http.js b/lib/util/http.js index 105ba02..ae9e69f 100644 --- a/lib/util/http.js +++ b/lib/util/http.js @@ -107,7 +107,7 @@ var parseBody = exports.parseBody = function(req, res, mime, callback) { var parseQuery = exports.parseQuery = function(url) { var q = url.substr(url.indexOf('?') + 1); - if(q) q = decodeURI(q); + if(q) q = decodeURIComponent(q); if(q[0] === '{' && q[q.length - 1] === '}') { return JSON.parse(q);