We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7949385 commit d0344cbCopy full SHA for d0344cb
dev/src/utils/Utils.js
@@ -118,7 +118,7 @@ Utils.now = function() {
118
119
Utils.getUrlParams = function() {
120
let match, re = /([^&=]+)=?([^&]*)/g, params = {};
121
- let url = window.location.search.substring(1).replace("+", " ");
+ let url = window.location.search.substr(1).replace(/\+/g, " ");
122
while (match = re.exec(url)) { params[decodeURIComponent(match[1])] = decodeURIComponent(match[2]); }
123
return params;
124
};
0 commit comments