url encode get params

This commit is contained in:
Mo Bitar
2017-04-18 09:46:52 -05:00
parent 222d88112b
commit 71f7189528

View File

@@ -65,7 +65,7 @@ class HttpManager {
return "?" + Object return "?" + Object
.keys(params) .keys(params)
.map(function(key){ .map(function(key){
return key+"="+params[key] return key+"="+encodeURIComponent(params[key])
}) })
.join("&") .join("&")
} }