We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f8382c commit 2cdaf80Copy full SHA for 2cdaf80
functions/token/callback.ts
@@ -32,7 +32,7 @@ export const onRequest: PagesFunction<IPocketLetterEnv> = async ({
32
});
33
34
const {username, access_token} = await response.json();
35
- const alias = username.toLowerCase();
+ const alias = encodeURIComponent(username.toLowerCase());
36
await env.ALIASES.put(alias, access_token);
37
const address = `${alias}@${MAILING_DOMAIN}`;
38
0 commit comments