mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 17:32:27 -05:00
[PR #4282] [MERGED] Fix attachment upload size check #7045
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/4282
Author: @BlackDex
Created: 1/28/2024
Status: ✅ Merged
Merged: 1/28/2024
Merged by: @dani-garcia
Base:
main← Head:fix-attachment-size-check📝 Commits (1)
0ad94c4Fix attachment upload size check📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
src/api/core/ciphers.rs(+4 -4)📄 Description
The min/max were reversed with the
addandsubfunctions. This caused the files to always be out of bounds in the check.Fixes #4281
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.