[PR #5618] [MERGED] allow CLI to upload send files with truncated filenames #3607

Closed
opened 2026-02-05 05:36:21 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/5618
Author: @stefan0xC
Created: 2/19/2025
Status: Merged
Merged: 2/19/2025
Merged by: @BlackDex

Base: mainHead: be-less-strict-with-cli


📝 Commits (1)

  • 92cbe6f allow CLI to upload files with truncated filenames

📊 Changes

2 files changed (+9 additions, -1 deletions)

View changed files

📝 src/api/core/sends.rs (+5 -1)
📝 src/db/models/device.rs (+4 -0)

📄 Description

due to a bug in the CLI the filename in the form-data is not complete if the encrypted filename happens to contain a /

this should fix #5614


🔄 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/5618 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 2/19/2025 **Status:** ✅ Merged **Merged:** 2/19/2025 **Merged by:** [@BlackDex](https://github.com/BlackDex) **Base:** `main` ← **Head:** `be-less-strict-with-cli` --- ### 📝 Commits (1) - [`92cbe6f`](https://github.com/dani-garcia/vaultwarden/commit/92cbe6f614fd45ed40abaf877594c08d34b12464) allow CLI to upload files with truncated filenames ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/sends.rs` (+5 -1) 📝 `src/db/models/device.rs` (+4 -0) </details> ### 📄 Description due to a bug in the CLI the filename in the form-data is not complete if the encrypted filename happens to contain a `/` this should fix #5614 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:36:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3607