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

Closed
opened 2026-06-20 19:02:40 -05:00 by GiteaMirror · 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>
GiteaMirror added the pull-request label 2026-06-20 19:02:40 -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#32151