mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 09:22:30 -05:00
[PR #7298] [CLOSED] Fix local attachment download URL for CLI clients #37058
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/7298
Author: @puneetdixit200
Created: 6/4/2026
Status: ❌ Closed
Base:
main← Head:fix-attachment-api-download-url📝 Commits (1)
95d2a73Fix local attachment download endpoint📊 Changes
2 files changed (+37 additions, -4 deletions)
View changed files
📝
src/api/core/ciphers.rs(+19 -3)📝
src/db/models/attachment.rs(+18 -1)📄 Description
Fixes #7281.
Summary
/api/ciphers/attachment/download?token=..., matching the current Bitwarden server endpoint used by CLI clients/attachments/<cipher>/<file>?token=...route in place for older clientsChecks
cargo fmt --checkgit diff --checkNotes
cargo check --features sqliteand the focused attachment URL unit test did not complete locally; both stalled in the finalvaultwardencrate build after dependencies had already compiled.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.