[PR #2480] [MERGED] Fix upload limits and disable color logs #15942

Closed
opened 2026-04-23 07:36:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2480
Author: @BlackDex
Created: 5/21/2022
Status: Merged
Merged: 5/21/2022
Merged by: @dani-garcia

Base: mainHead: fix-upload-limits-and-logging


📝 Commits (1)

  • 1c26603 Fix upload limits and disable color logs

📊 Changes

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

View changed files

📝 src/main.rs (+5 -4)

📄 Description

The limits for uploading files were to small in regards to the allowed
maximum filesize of the Bitwarden clients including the web-vault.
Changed both data-form (used for Send) and file (used for
attachments) to be 525MB, this is the same size we already check our selfs.

Also changed the json limit to be 20MB, this should allow very large
imports with 4000/5000+ items depending on if there are large notes or not.

And, also disabled Rocket from outputting colors, these colors were also
send to the log files and syslog. I think this changed in Rocket 0.5rc
somewhere, need to look a bit further into that maybe.


🔄 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/2480 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 5/21/2022 **Status:** ✅ Merged **Merged:** 5/21/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-upload-limits-and-logging` --- ### 📝 Commits (1) - [`1c26603`](https://github.com/dani-garcia/vaultwarden/commit/1c266031d71eee407f6285df788c49414a4e033a) Fix upload limits and disable color logs ### 📊 Changes **1 file changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+5 -4) </details> ### 📄 Description The limits for uploading files were to small in regards to the allowed maximum filesize of the Bitwarden clients including the web-vault. Changed both `data-form` (used for Send) and `file` (used for attachments) to be 525MB, this is the same size we already check our selfs. Also changed the `json` limit to be 20MB, this should allow very large imports with 4000/5000+ items depending on if there are large notes or not. And, also disabled Rocket from outputting colors, these colors were also send to the log files and syslog. I think this changed in Rocket 0.5rc somewhere, need to look a bit further into that maybe. --- <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-04-23 07:36:17 -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#15942