[PR #2675] [MERGED] Fix uploads from mobile clients (and dep updates) #3128

Closed
opened 2026-03-03 09:25:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2675
Author: @BlackDex
Created: 8/4/2022
Status: Merged
Merged: 8/4/2022
Merged by: @dani-garcia

Base: mainHead: patch-multer


📝 Commits (1)

  • 5b98bd6 Fix uploads from mobile clients (and dep updates)

📊 Changes

2 files changed (+59 additions, -53 deletions)

View changed files

📝 Cargo.lock (+47 -47)
📝 Cargo.toml (+12 -6)

📄 Description

This patch fixes the file upload send by the mobile clients.
It fixes #2644 by always providing a Content-Type even though one
isn't set in this specific case.

I do hope it will be fixed upstream by either Bitwarden by fixing the
client. Or Rocket by allowing to override this somehow.

Until then, we can use this patched version of multer-rs.

Issue @ Rocket: https://github.com/SergioBenitez/Rocket/issues/2299
Issue @ Bitwarden: https://github.com/bitwarden/mobile/issues/2018

Also updated some dependencies.


🔄 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/2675 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 8/4/2022 **Status:** ✅ Merged **Merged:** 8/4/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `patch-multer` --- ### 📝 Commits (1) - [`5b98bd6`](https://github.com/dani-garcia/vaultwarden/commit/5b98bd66ee75edfbd9b50dc8bfc499d2deefb9e9) Fix uploads from mobile clients (and dep updates) ### 📊 Changes **2 files changed** (+59 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+47 -47) 📝 `Cargo.toml` (+12 -6) </details> ### 📄 Description This patch fixes the file upload send by the mobile clients. It fixes #2644 by always providing a `Content-Type` even though one isn't set in this specific case. I do hope it will be fixed upstream by either Bitwarden by fixing the client. Or Rocket by allowing to override this somehow. Until then, we can use this patched version of multer-rs. Issue @ Rocket: https://github.com/SergioBenitez/Rocket/issues/2299 Issue @ Bitwarden: https://github.com/bitwarden/mobile/issues/2018 Also updated some dependencies. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:25:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3128
No description provided.