mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 02:22:14 -05:00
[PR #3376] [MERGED] Decode knowndevice X-Request-Email as base64url with no padding
#30886
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3376
Author: @jjlin
Created: 3/27/2023
Status: ✅ Merged
Merged: 3/27/2023
Merged by: @dani-garcia
Base:
main← Head:knowndevices-nopad📝 Commits (1)
62cebebDecode knowndeviceX-Request-Emailas base64url with no padding📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/api/core/accounts.rs(+1 -1)📄 Description
The clients end up removing the padding characters [1][2].
[1] https://github.com/bitwarden/clients/blob/web-v2023.3.0/libs/common/src/misc/utils.ts#L141-L143
[2] https://github.com/bitwarden/mobile/blob/v2023.3.1/src/Core/Utilities/CoreHelpers.cs#L227-L234
Fixes #3375
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.