Fix GET arguments encoding

parent 1f719461
Pipeline #1505 passed with stage
in 43 seconds
......@@ -22,7 +22,7 @@ let params = {};
if (window.location.search) {
let splitParams = window.location.search.split('?')[1].split('&');
for (let i in splitParams) {
params[splitParams[i].split('=')[0]] = decodeURIComponent(splitParams[i].split('=')[1]);
params[splitParams[i].split('=')[0]] = decodeURIComponent(splitParams[i].split('=')[1]).replace(/\+/g, ' ');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment