mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🐛 Only decode URI, not full URI component, in application's redirect_url
This commit is contained in:
parent
53184bbe99
commit
d63196b5ee
4 changed files with 6 additions and 11 deletions
|
|
@ -303,7 +303,7 @@ export default (plugin: PluginType) =>
|
|||
redirectUri.searchParams.append("code", code);
|
||||
state && redirectUri.searchParams.append("state", state);
|
||||
|
||||
return context.redirect(encodeURI(redirectUri.toString()));
|
||||
return context.redirect(redirectUri.toString());
|
||||
},
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue