X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/98d3f7708860701b02055643da4ba9412720bf4b..bc80b56b75691f7571e3b86f3bb50cc26ce9d5b0:/src/common/redirect-to.ts diff --git a/src/common/redirect-to.ts b/src/common/redirect-to.ts index 73c9484323..e71ebde7f1 100644 --- a/src/common/redirect-to.ts +++ b/src/common/redirect-to.ts @@ -39,7 +39,7 @@ export const storeRedirects = () => { const redirectStoreKey = redirectKey === REDIRECT_TO_KEY ? REDIRECT_TO_PREVIEW_KEY : redirectKey; if (localStorage && redirectKey && redirectStoreKey) { - localStorage.setItem(redirectStoreKey, href.split(`${redirectKey}=`)[1]); + localStorage.setItem(redirectStoreKey, decodeURIComponent(href.split(`${redirectKey}=`)[1])); } };