url encode get params
This commit is contained in:
@@ -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("&")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user