[PR #3376] [MERGED] Decode knowndevice X-Request-Email as base64url with no padding #30886

Closed
opened 2026-06-17 10:53:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: knowndevices-nopad


📝 Commits (1)

  • 62cebeb Decode knowndevice X-Request-Email as 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/3376 **Author:** [@jjlin](https://github.com/jjlin) **Created:** 3/27/2023 **Status:** ✅ Merged **Merged:** 3/27/2023 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `knowndevices-nopad` --- ### 📝 Commits (1) - [`62cebeb`](https://github.com/dani-garcia/vaultwarden/commit/62cebebd3d3f7d51d2a38afd36c4aa12a8bd088b) Decode knowndevice `X-Request-Email` as base64url with no padding ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/accounts.rs` (+1 -1) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-17 10:53:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#30886