mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🐛 Also encode OAuth authorize endpoint response
This commit is contained in:
parent
ac906acbe2
commit
bfd4c7884e
2 changed files with 2 additions and 2 deletions
|
|
@ -303,7 +303,7 @@ export default (plugin: PluginType) =>
|
|||
redirectUri.searchParams.append("code", code);
|
||||
state && redirectUri.searchParams.append("state", state);
|
||||
|
||||
return context.redirect(redirectUri.toString());
|
||||
return context.redirect(encodeURI(redirectUri.toString()));
|
||||
},
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue