Encode url properly
This commit is contained in:
parent
a2cb32225d
commit
0b8d7904df
1 changed files with 3 additions and 1 deletions
|
@ -52,6 +52,8 @@ export const API = createAPIClient({
|
|||
return
|
||||
}
|
||||
|
||||
window.location = `${updatingUrl}?returnUrl=${encodeURI(window.location)}`
|
||||
window.location = `${updatingUrl}?returnUrl=${encodeURIComponent(
|
||||
window.location
|
||||
)}`
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue