mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
[PR #2480] [MERGED] Fix upload limits and disable color logs #15942
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/2480
Author: @BlackDex
Created: 5/21/2022
Status: ✅ Merged
Merged: 5/21/2022
Merged by: @dani-garcia
Base:
main← Head:fix-upload-limits-and-logging📝 Commits (1)
1c26603Fix 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) andfile(used forattachments) to be 525MB, this is the same size we already check our selfs.
Also changed the
jsonlimit to be 20MB, this should allow very largeimports 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.