fix for double decoding on confirm page issue #1361

This commit is contained in:
Kendall Werts 2019-10-15 14:19:18 -05:00
parent a4c578adde
commit a874c9c628

View file

@ -1,6 +1,6 @@
async function load() { async function load() {
const searchParams = new URL(window.location).searchParams; const searchParams = new URL(window.location).searchParams;
const redirectUrl = decodeURIComponent(searchParams.get("url")); const redirectUrl = searchParams.get("url");
const cookieStoreId = searchParams.get("cookieStoreId"); const cookieStoreId = searchParams.get("cookieStoreId");
const currentCookieStoreId = searchParams.get("currentCookieStoreId"); const currentCookieStoreId = searchParams.get("currentCookieStoreId");
const redirectUrlElement = document.getElementById("redirect-url"); const redirectUrlElement = document.getElementById("redirect-url");