This commit is contained in:
Liyas Thomas
2019-12-17 06:45:24 +05:30
parent 7451a0bcc4
commit ae237f1ad3
2 changed files with 3 additions and 3 deletions

View File

@@ -1986,7 +1986,7 @@ export default {
window.location.href,
"",
"/?" +
encodeURIComponent(
encodeURI(
flats
.concat(deeps, bodyParams)
.join("")
@@ -1999,7 +1999,7 @@ export default {
throw new Error("Route query parameters must be a Object");
for (const key in queries) {
if (["headers", "params", "bodyParams"].includes(key))
this[key] = JSON.parse(queries[key]);
this[key] = JSON.parse(decodeURI(queries[key]));
if (key === "rawParams") {
this.rawInput = true;
this.rawParams = queries["rawParams"];