Fix attachment upload size check #1264

Closed
opened 2026-04-06 01:42:57 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BlackDex on 1/28/2024

The min/max were reversed with the add and sub functions. This caused the files to always be out of bounds in the check.

Fixes #4281

*Originally created by @BlackDex on 1/28/2024* The min/max were reversed with the `add` and `sub` functions. This caused the files to always be out of bounds in the check. Fixes #4281
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1264