mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
Fix bug in getRedirectUri()
This commit is contained in:
@ -87,11 +87,12 @@ function getRedirectUri() {
|
||||
return "";
|
||||
}
|
||||
|
||||
const res = token.split("&")[0];
|
||||
let res = token.split("&")[0];
|
||||
if (!res) {
|
||||
return "";
|
||||
}
|
||||
|
||||
res = decodeURIComponent(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user