Fixed bug in firefox where recipes containing an = character would not load from the URL
This commit is contained in:
1 parent
645e540c66
commit
2555de7712
2 files changed
+12
-2
No files matched your search
+6
-1
@@ -1000,9 +1000,14 @@ const Utils = {
|
||||
if (paramStr === "") return {};
|
||||
|
||||
// Cut off ? or # and split on &
|
||||
const params = paramStr.substr(1).split("&");
|
||||
if (paramStr[0] === "?" ||
|
||||
paramStr[0] === "#") {
|
||||
paramStr = paramStr.substr(1);
|
||||
}
|
||||
|
||||
const params = paramStr.split("&");
|
||||
const result = {};
|
||||
|
||||
for (let i = 0; i < params.length; i++) {
|
||||
const param = params[i].split("=");
|
||||
if (param.length !== 2) {
|
||||
|
||||
Reference in new issue
Block a user