Commit 8b9db28e authored by Sven Franck's avatar Sven Franck

debug callback_url: remove query parameters

parent aad593ff
...@@ -6451,7 +6451,9 @@ ...@@ -6451,7 +6451,9 @@
element.direct.href += element.direct.href.indexOf("?") > 0 ? "&" : "?"; element.direct.href += element.direct.href.indexOf("?") > 0 ? "&" : "?";
switch (param[1]) { switch (param[1]) {
case "location": case "location":
target = window.location.origin + window.location.pathname + window.location.hash; target = window.location.origin +
window.location.pathname +
window.location.hash.split("?")[0];
break; break;
} }
element.direct.href += window.encodeURIComponent(param[0]) + element.direct.href += window.encodeURIComponent(param[0]) +
......
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