Encode url properly
This commit is contained in:
parent
a2cb32225d
commit
0b8d7904df
|
@ -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 New Issue