Improve file limit handling #1285

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

Originally created by @dani-garcia on 1/12/2024

  • Add separate Send limit, previously it was using the Attachment limit, which wouldn't work correctly
  • Change file sizes in attachment to be i64, both in code and in the database, to limit the amount of number casting
  • Switched number operations to use checked operations

Haven't tested MySQL or Postgres but I think the migrations are correct.

*Originally created by @dani-garcia on 1/12/2024* - Add separate Send limit, previously it was using the Attachment limit, which wouldn't work correctly - Change file sizes in attachment to be i64, both in code and in the database, to limit the amount of number casting - Switched number operations to use checked operations Haven't tested MySQL or Postgres but I think the migrations are correct.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1285