[PR #939] [MERGED] Fix attachment size limit calculation #2831

Closed
opened 2026-03-03 08:53:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/939
Author: @jjlin
Created: 3/31/2020
Status: Merged
Merged: 3/31/2020
Merged by: @dani-garcia

Base: masterHead: attachment-size


📝 Commits (1)

  • 7407b83 Fix attachment size limit calculation

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 src/api/core/ciphers.rs (+4 -4)

📄 Description

The config values (in KB) need to be converted to bytes when comparing
against total attachment sizes.

Fixes #937.


🔄 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/939 **Author:** [@jjlin](https://github.com/jjlin) **Created:** 3/31/2020 **Status:** ✅ Merged **Merged:** 3/31/2020 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `attachment-size` --- ### 📝 Commits (1) - [`7407b83`](https://github.com/dani-garcia/vaultwarden/commit/7407b8326aa02ca21c4c2dc1d98768fa8104412e) Fix attachment size limit calculation ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/ciphers.rs` (+4 -4) </details> ### 📄 Description The config values (in KB) need to be converted to bytes when comparing against total attachment sizes. Fixes #937. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 08:53:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2831
No description provided.