Fix space characters turned into plus

parent e3069f73
Pipeline #1739 passed with stages
in 1 minute and 48 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].replace(/\+/, ' '));
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