Use base64url encoding for encrypted username

This commit is contained in:
Brendan Fattig 2024-03-14 13:53:12 -05:00
parent f77f9165e1
commit 09fc0d690b
4 changed files with 10 additions and 2 deletions

View file

@ -115,7 +115,7 @@ export const getUsernameLink = createSelector(
const content = Bytes.concatenate([entropy, serverId]);
return contactByEncryptedUsernameRoute
.toWebUrl({ encryptedUsername: Bytes.toBase64(content) })
.toWebUrl({ encryptedUsername: Bytes.toBase64url(content) })
.toString();
}
);