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

@@ -53,7 +53,7 @@
<ul v-for="(header, index) in headers" :key="index">
<li>
<autocomplete
:placeholder="'index ' + (index + 1)"
:placeholder="'header ' + (index + 1)"
:source="commonHeaders"
:spellcheck="false"
:value="header.key"

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"];