Sends filename validation doesn't work with forward slashes #179

Closed
opened 2025-07-08 08:41:55 -04:00 by AtHeartEngineer · 0 comments

Originally created by @KyleKaniecki on 2/18/2025

Vaultwarden Support String

Your environment (Generated via diagnostics page)

  • Vaultwarden version: v1.33.2
  • Web-vault version: v2025.1.1
  • OS/Arch: linux/x86_64
  • Running within a container: true (Base: Debian)
  • Database type: PostgreSQL
  • Database version: PostgreSQL 16.2 (Debian 16.2-1.pgdg110+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
  • Environment settings overridden!: false
  • Uses a reverse proxy: true
  • IP Header check: true (X-Real-IP)
  • Internet access: true
  • Internet access via a proxy: false
  • DNS Check: true
  • Browser/Server Time Check: true
  • Server/NTP Time Check: true
  • Domain Configuration Check: false
  • HTTPS Check: true
  • Websocket Check: true
  • HTTP Response Checks: true

Config & Details (Generated via diagnostics page)

Show Config & Details

Config:

{
  "_duo_akey": null,
  "_enable_duo": true,
  "_enable_email_2fa": true,
  "_enable_smtp": true,
  "_enable_yubico": true,
  "_icon_service_csp": "",
  "_icon_service_url": "",
  "_ip_header_enabled": true,
  "_max_note_size": 10000,
  "_smtp_img_src": "***:",
  "admin_ratelimit_max_burst": 3,
  "admin_ratelimit_seconds": 300,
  "admin_session_lifetime": 20,
  "admin_token": "***",
  "allowed_connect_src": "",
  "allowed_iframe_ancestors": "",
  "attachments_folder": "/data/attachments",
  "auth_request_purge_schedule": "30 * * * * *",
  "authenticator_disable_time_drift": false,
  "data_folder": "/data",
  "database_conn_init": "",
  "database_max_conns": 10,
  "database_timeout": 30,
  "database_url": "**********://***************************************************************************************************",
  "db_connection_retries": 15,
  "disable_2fa_remember": false,
  "disable_admin_token": false,
  "disable_icon_download": false,
  "domain": "*****://**************************",
  "domain_origin": "*****://**************************",
  "domain_path": "",
  "domain_set": true,
  "duo_context_purge_schedule": "30 * * * * *",
  "duo_host": null,
  "duo_ikey": null,
  "duo_skey": null,
  "duo_use_iframe": false,
  "email_2fa_auto_fallback": false,
  "email_2fa_enforce_on_verified_invite": false,
  "email_attempts_limit": 3,
  "email_change_allowed": true,
  "email_expiration_time": 600,
  "email_token_size": 6,
  "emergency_access_allowed": true,
  "emergency_notification_reminder_schedule": "0 3 * * * *",
  "emergency_request_timeout_schedule": "0 7 * * * *",
  "enable_db_wal": true,
  "enable_websocket": true,
  "enforce_single_org_with_reset_pw_policy": false,
  "event_cleanup_schedule": "0 10 0 * * *",
  "events_days_retain": null,
  "experimental_client_feature_flags": "fido2-vault-credentials",
  "extended_logging": true,
  "helo_name": null,
  "hibp_api_key": null,
  "http_request_block_non_global_ips": true,
  "http_request_block_regex": null,
  "icon_blacklist_non_global_ips": true,
  "icon_blacklist_regex": null,
  "icon_cache_folder": "/data/icon_cache",
  "icon_cache_negttl": 259200,
  "icon_cache_ttl": 2592000,
  "icon_download_timeout": 10,
  "icon_redirect_code": 302,
  "icon_service": "internal",
  "incomplete_2fa_schedule": "30 * * * * *",
  "incomplete_2fa_time_limit": 3,
  "increase_note_size_limit": false,
  "invitation_expiration_hours": 120,
  "invitation_org_name": "Vaultwarden",
  "invitations_allowed": true,
  "ip_header": "X-Real-IP",
  "job_poll_interval_ms": 30000,
  "log_file": "/data/bitwarden.log",
  "log_level": "info",
  "log_timestamp_format": "%Y-%m-%d %H:%M:%S.%3f",
  "login_ratelimit_max_burst": 10,
  "login_ratelimit_seconds": 60,
  "org_attachment_limit": null,
  "org_creation_users": "",
  "org_events_enabled": false,
  "org_groups_enabled": false,
  "password_hints_allowed": true,
  "password_iterations": 600000,
  "push_enabled": false,
  "push_identity_uri": "https://identity.bitwarden.com",
  "push_installation_id": "***",
  "push_installation_key": "***",
  "push_relay_uri": "https://push.bitwarden.com",
  "reload_templates": false,
  "require_device_email": false,
  "rsa_key_filename": "/data/rsa_key",
  "send_purge_schedule": "0 5 * * * *",
  "sendmail_command": null,
  "sends_allowed": true,
  "sends_folder": "/data/sends",
  "show_password_hint": false,
  "signups_allowed": true,
  "signups_domains_whitelist": "",
  "signups_verify": false,
  "signups_verify_resend_limit": 6,
  "signups_verify_resend_time": 3600,
  "smtp_accept_invalid_certs": false,
  "smtp_accept_invalid_hostnames": false,
  "smtp_auth_mechanism": null,
  "smtp_debug": false,
  "smtp_embed_images": true,
  "smtp_explicit_tls": null,
  "smtp_from": "*************************",
  "smtp_from_name": "Vaultwarden",
  "smtp_host": "**********************************",
  "smtp_password": "***",
  "smtp_port": 587,
  "smtp_security": "starttls",
  "smtp_ssl": true,
  "smtp_timeout": 15,
  "smtp_username": "********************",
  "templates_folder": "/data/templates",
  "tmp_folder": "/data/tmp",
  "trash_auto_delete_days": null,
  "trash_purge_schedule": "0 5 0 * * *",
  "use_sendmail": false,
  "use_syslog": false,
  "user_attachment_limit": null,
  "user_send_limit": null,
  "web_vault_enabled": true,
  "web_vault_folder": "web-vault/",
  "yubico_client_id": null,
  "yubico_secret_key": null,
  "yubico_server": null
}

Vaultwarden Build Version

v1.33.2

Deployment method

Official Container Image

Custom deployment method

Deployed on a self-hosted kube cluster

Reverse Proxy

traefik v2

Host/Server Operating System

Linux

Operating System Version

Debian 12

Clients

Browser Extension, CLI

Client Version

cli 2025.1.3

Steps To Reproduce

  1. Download the official bw cli using npm
  2. Generate a send template using bw send template send.file
  3. Fill out the appropriate information, and base64 the content. echo '<json>' | base64
  4. Attempt to create the send using the base64 content. bw send create <base64content>

Expected Result

I expect the server to accept send file names who's base64 version contains forward slashes

Actual Result

The server incorrectly parses the send filename, splitting by forward slashes instead of taking the entire filename and doing the comparison

I believe the issue stems from this block

Logs

[2025-02-18 16:17:40.928][request][INFO] POST /api/sends/63a7e61c-fee9-412d-a36b-4f048d9cfc3f/file/42bbbb45d59f4eb969fd6624edb68a96706abd245b4137c6aaa1bd36b6e487bb                                                                                                                         
[2025-02-18 16:17:40.930][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.kLTgmxWNNuJPW6tHeCUhkg==|tu6a27kerdUKMbpjbbuixw==|/yhE62kV2ee+Wu2UnKROhoDHgildtG9adaJgM2Cc7Yo=' got 'yhE62kV2ee+Wu2UnKROhoDHgildtG9adaJgM2Cc7Yo='                     
[2025-02-18 16:17:40.930][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request                                                                                                                                          
[2025-02-18 16:17:40.947][request][INFO] DELETE /api/sends/63a7e61c-fee9-412d-a36b-4f048d9cfc3f                                                                                                                                                                                             
[2025-02-18 16:17:40.951][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK                                                                                                                                                                                               
[2025-02-18 16:17:43.116][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:43.120][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:43.140][request][INFO] POST /api/sends/8b062172-10bc-4a21-af64-83cd281cba2f/file/91772abbe53c79502425770b0a02d17844e428fabea0515c901862dfd167c323                                                                                                                         
[2025-02-18 16:17:43.144][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 200 OK                                                                                                                                                   
[2025-02-18 16:17:45.343][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:45.347][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:45.366][request][INFO] POST /api/sends/c6d60d46-146b-46c1-864a-d60bbf2e23e9/file/f0973e31c0a0540947d502c9a63b8e64c7f1e94ac1e21e319c3d1ffc5ed15a03                                                                                                                         
[2025-02-18 16:17:45.370][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 200 OK                                                                                                                                                   
[2025-02-18 16:17:47.607][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:47.611][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:47.631][request][INFO] POST /api/sends/e1af9bf9-bc4e-4586-8240-04d15588ee44/file/25aaaaf11b2cdca1ef994f80d16d01663c1df94cd0b5f9a25a727a3a7dd4f264                                                                                                                         
[2025-02-18 16:17:47.633][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.RDe95xSSokrvl14qVCgygA==|ge32Hl/YVs9FwarSpcXK+lydn7+gWz5VunUvn92PNvQ=|7F5/j3m+8eblxkGlqBeqspiKMGC06YHBSJ/sE0CSqgo=' got 'sE0CSqgo='                                   
[2025-02-18 16:17:47.633][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request                                                                                                                                          
[2025-02-18 16:17:47.650][request][INFO] DELETE /api/sends/e1af9bf9-bc4e-4586-8240-04d15588ee44                                                                                                                                                                                             
[2025-02-18 16:17:47.653][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK                                                                                                                                                                                               
[2025-02-18 16:17:49.841][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:49.845][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:49.866][request][INFO] POST /api/sends/93bea7f0-1208-463e-a392-5cfed755a17c/file/7dd9290e1c7d72b0a0bc703b769c55a0a16b7b830d6f443bb2f287f6e899be84                                                                                                                         
[2025-02-18 16:17:49.868][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.JTf0ESsdIWUje3iV9OecTw==|XCNFOP1P7/OfmeRkEVipp2rMfN5HglW81aVt04UzcSk=|LqEwNiZRU8fG8TFo/cGAcEdOG74vArCywhGKx4t4Y+w=' got 'cGAcEdOG74vArCywhGKx4t4Y+w='                 
[2025-02-18 16:17:49.868][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request                                                                                                                                          
[2025-02-18 16:17:49.883][request][INFO] DELETE /api/sends/93bea7f0-1208-463e-a392-5cfed755a17c                                                                                                                                                                                             
[2025-02-18 16:17:49.887][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK                                                                                                                                                                                               
[2025-02-18 16:17:52.058][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:52.065][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:52.086][request][INFO] POST /api/sends/a55fe284-c514-4eb7-8090-66af49450a03/file/fcc8449e1856b3a8805e95fe772b5e87f245a3c6e36cc86b817a839c2d7206d6                                                                                                                         
[2025-02-18 16:17:52.088][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.Hyo8v/nLjGjnRICfZoev8A==|LqrCQQv4P1yBwgFfw6aNpzm912Zo6b2OazGFs2Oo0/4=|VC7g+uKcoVSYPG64wf/YiteFSmc3zWB0zEHGwCtAPHs=' got 'YiteFSmc3zWB0zEHGwCtAPHs='                   
[2025-02-18 16:17:52.088][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request                                                                                                                                          
[2025-02-18 16:17:52.105][request][INFO] DELETE /api/sends/a55fe284-c514-4eb7-8090-66af49450a03                                                                                                                                                                                             
[2025-02-18 16:17:52.109][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK                                                                                                                                                                                               
[2025-02-18 16:17:54.265][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:54.269][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:54.290][request][INFO] POST /api/sends/ebeb01d1-b541-4a93-b645-f2e425d4519f/file/9c7a8a870cd8e1ab84c0b45cdadf387f5f0d02bbe7ac5a282f725eb05fc28b2b                                                                                                                         
[2025-02-18 16:17:54.294][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 200 OK                                                                                                                                                   
[2025-02-18 16:17:56.496][request][INFO] POST /api/sends/file/v2                                                                                                                                                                                                                            
[2025-02-18 16:17:56.500][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK                                                                                                                                                                                             
[2025-02-18 16:17:56.521][request][INFO] POST /api/sends/c30e904b-8fd5-4b74-b35e-9fd57dbf3900/file/59b36ff1699c880907504f821f3fb8f5a0a79199efe73e73663f09041f48423c                                                                                                                         
[2025-02-18 16:17:56.523][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.GE05eOGFOq3HmWa+E1PjJw==|x10OUc4nIrKVLAohur6HlA==|bJe/mPXL9PVpj9JBj5xKZSjwsnyuxfv3udnYFdQVImA=' got 'mPXL9PVpj9JBj5xKZSjwsnyuxfv3udnYFdQVImA='                        
[2025-02-18 16:17:56.523][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request                                                                                                                                          
[2025-02-18 16:17:56.540][request][INFO] DELETE /api/sends/c30e904b-8fd5-4b74-b35e-9fd57dbf3900                                                                                                                                                                                             
[2025-02-18 16:17:56.544][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK

Screenshots or Videos

No response

Additional Context

My usecase is I often have to send many files to team members within my organization, and use python + the bitwarden cli to do so. This makes that almost impossible without manual intervention

*Originally created by @KyleKaniecki on 2/18/2025* ### Vaultwarden Support String ### Your environment (Generated via diagnostics page) * Vaultwarden version: v1.33.2 * Web-vault version: v2025.1.1 * OS/Arch: linux/x86_64 * Running within a container: true (Base: Debian) * Database type: PostgreSQL * Database version: PostgreSQL 16.2 (Debian 16.2-1.pgdg110+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit * Environment settings overridden!: false * Uses a reverse proxy: true * IP Header check: true (X-Real-IP) * Internet access: true * Internet access via a proxy: false * DNS Check: true * Browser/Server Time Check: true * Server/NTP Time Check: true * Domain Configuration Check: false * HTTPS Check: true * Websocket Check: true * HTTP Response Checks: true ### Config & Details (Generated via diagnostics page) <details><summary>Show Config & Details</summary> **Config:** ```json { "_duo_akey": null, "_enable_duo": true, "_enable_email_2fa": true, "_enable_smtp": true, "_enable_yubico": true, "_icon_service_csp": "", "_icon_service_url": "", "_ip_header_enabled": true, "_max_note_size": 10000, "_smtp_img_src": "***:", "admin_ratelimit_max_burst": 3, "admin_ratelimit_seconds": 300, "admin_session_lifetime": 20, "admin_token": "***", "allowed_connect_src": "", "allowed_iframe_ancestors": "", "attachments_folder": "/data/attachments", "auth_request_purge_schedule": "30 * * * * *", "authenticator_disable_time_drift": false, "data_folder": "/data", "database_conn_init": "", "database_max_conns": 10, "database_timeout": 30, "database_url": "**********://***************************************************************************************************", "db_connection_retries": 15, "disable_2fa_remember": false, "disable_admin_token": false, "disable_icon_download": false, "domain": "*****://**************************", "domain_origin": "*****://**************************", "domain_path": "", "domain_set": true, "duo_context_purge_schedule": "30 * * * * *", "duo_host": null, "duo_ikey": null, "duo_skey": null, "duo_use_iframe": false, "email_2fa_auto_fallback": false, "email_2fa_enforce_on_verified_invite": false, "email_attempts_limit": 3, "email_change_allowed": true, "email_expiration_time": 600, "email_token_size": 6, "emergency_access_allowed": true, "emergency_notification_reminder_schedule": "0 3 * * * *", "emergency_request_timeout_schedule": "0 7 * * * *", "enable_db_wal": true, "enable_websocket": true, "enforce_single_org_with_reset_pw_policy": false, "event_cleanup_schedule": "0 10 0 * * *", "events_days_retain": null, "experimental_client_feature_flags": "fido2-vault-credentials", "extended_logging": true, "helo_name": null, "hibp_api_key": null, "http_request_block_non_global_ips": true, "http_request_block_regex": null, "icon_blacklist_non_global_ips": true, "icon_blacklist_regex": null, "icon_cache_folder": "/data/icon_cache", "icon_cache_negttl": 259200, "icon_cache_ttl": 2592000, "icon_download_timeout": 10, "icon_redirect_code": 302, "icon_service": "internal", "incomplete_2fa_schedule": "30 * * * * *", "incomplete_2fa_time_limit": 3, "increase_note_size_limit": false, "invitation_expiration_hours": 120, "invitation_org_name": "Vaultwarden", "invitations_allowed": true, "ip_header": "X-Real-IP", "job_poll_interval_ms": 30000, "log_file": "/data/bitwarden.log", "log_level": "info", "log_timestamp_format": "%Y-%m-%d %H:%M:%S.%3f", "login_ratelimit_max_burst": 10, "login_ratelimit_seconds": 60, "org_attachment_limit": null, "org_creation_users": "", "org_events_enabled": false, "org_groups_enabled": false, "password_hints_allowed": true, "password_iterations": 600000, "push_enabled": false, "push_identity_uri": "https://identity.bitwarden.com", "push_installation_id": "***", "push_installation_key": "***", "push_relay_uri": "https://push.bitwarden.com", "reload_templates": false, "require_device_email": false, "rsa_key_filename": "/data/rsa_key", "send_purge_schedule": "0 5 * * * *", "sendmail_command": null, "sends_allowed": true, "sends_folder": "/data/sends", "show_password_hint": false, "signups_allowed": true, "signups_domains_whitelist": "", "signups_verify": false, "signups_verify_resend_limit": 6, "signups_verify_resend_time": 3600, "smtp_accept_invalid_certs": false, "smtp_accept_invalid_hostnames": false, "smtp_auth_mechanism": null, "smtp_debug": false, "smtp_embed_images": true, "smtp_explicit_tls": null, "smtp_from": "*************************", "smtp_from_name": "Vaultwarden", "smtp_host": "**********************************", "smtp_password": "***", "smtp_port": 587, "smtp_security": "starttls", "smtp_ssl": true, "smtp_timeout": 15, "smtp_username": "********************", "templates_folder": "/data/templates", "tmp_folder": "/data/tmp", "trash_auto_delete_days": null, "trash_purge_schedule": "0 5 0 * * *", "use_sendmail": false, "use_syslog": false, "user_attachment_limit": null, "user_send_limit": null, "web_vault_enabled": true, "web_vault_folder": "web-vault/", "yubico_client_id": null, "yubico_secret_key": null, "yubico_server": null } ``` </details> ### Vaultwarden Build Version v1.33.2 ### Deployment method Official Container Image ### Custom deployment method Deployed on a self-hosted kube cluster ### Reverse Proxy traefik v2 ### Host/Server Operating System Linux ### Operating System Version Debian 12 ### Clients Browser Extension, CLI ### Client Version cli 2025.1.3 ### Steps To Reproduce 1. Download the official bw cli using npm 2. Generate a send template using `bw send template send.file` 3. Fill out the appropriate information, and base64 the content. `echo '<json>' | base64` 4. Attempt to create the send using the base64 content. `bw send create <base64content>` ### Expected Result I expect the server to accept send file names who's base64 version contains forward slashes ### Actual Result The server incorrectly parses the send filename, splitting by forward slashes instead of taking the entire filename and doing the comparison I believe the issue stems from [this block](https://github.com/dani-garcia/vaultwarden/blob/main/src/api/core/sends.rs#L380) ### Logs ```text [2025-02-18 16:17:40.928][request][INFO] POST /api/sends/63a7e61c-fee9-412d-a36b-4f048d9cfc3f/file/42bbbb45d59f4eb969fd6624edb68a96706abd245b4137c6aaa1bd36b6e487bb [2025-02-18 16:17:40.930][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.kLTgmxWNNuJPW6tHeCUhkg==|tu6a27kerdUKMbpjbbuixw==|/yhE62kV2ee+Wu2UnKROhoDHgildtG9adaJgM2Cc7Yo=' got 'yhE62kV2ee+Wu2UnKROhoDHgildtG9adaJgM2Cc7Yo=' [2025-02-18 16:17:40.930][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request [2025-02-18 16:17:40.947][request][INFO] DELETE /api/sends/63a7e61c-fee9-412d-a36b-4f048d9cfc3f [2025-02-18 16:17:40.951][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK [2025-02-18 16:17:43.116][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:43.120][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:43.140][request][INFO] POST /api/sends/8b062172-10bc-4a21-af64-83cd281cba2f/file/91772abbe53c79502425770b0a02d17844e428fabea0515c901862dfd167c323 [2025-02-18 16:17:43.144][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 200 OK [2025-02-18 16:17:45.343][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:45.347][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:45.366][request][INFO] POST /api/sends/c6d60d46-146b-46c1-864a-d60bbf2e23e9/file/f0973e31c0a0540947d502c9a63b8e64c7f1e94ac1e21e319c3d1ffc5ed15a03 [2025-02-18 16:17:45.370][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 200 OK [2025-02-18 16:17:47.607][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:47.611][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:47.631][request][INFO] POST /api/sends/e1af9bf9-bc4e-4586-8240-04d15588ee44/file/25aaaaf11b2cdca1ef994f80d16d01663c1df94cd0b5f9a25a727a3a7dd4f264 [2025-02-18 16:17:47.633][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.RDe95xSSokrvl14qVCgygA==|ge32Hl/YVs9FwarSpcXK+lydn7+gWz5VunUvn92PNvQ=|7F5/j3m+8eblxkGlqBeqspiKMGC06YHBSJ/sE0CSqgo=' got 'sE0CSqgo=' [2025-02-18 16:17:47.633][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request [2025-02-18 16:17:47.650][request][INFO] DELETE /api/sends/e1af9bf9-bc4e-4586-8240-04d15588ee44 [2025-02-18 16:17:47.653][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK [2025-02-18 16:17:49.841][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:49.845][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:49.866][request][INFO] POST /api/sends/93bea7f0-1208-463e-a392-5cfed755a17c/file/7dd9290e1c7d72b0a0bc703b769c55a0a16b7b830d6f443bb2f287f6e899be84 [2025-02-18 16:17:49.868][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.JTf0ESsdIWUje3iV9OecTw==|XCNFOP1P7/OfmeRkEVipp2rMfN5HglW81aVt04UzcSk=|LqEwNiZRU8fG8TFo/cGAcEdOG74vArCywhGKx4t4Y+w=' got 'cGAcEdOG74vArCywhGKx4t4Y+w=' [2025-02-18 16:17:49.868][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request [2025-02-18 16:17:49.883][request][INFO] DELETE /api/sends/93bea7f0-1208-463e-a392-5cfed755a17c [2025-02-18 16:17:49.887][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK [2025-02-18 16:17:52.058][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:52.065][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:52.086][request][INFO] POST /api/sends/a55fe284-c514-4eb7-8090-66af49450a03/file/fcc8449e1856b3a8805e95fe772b5e87f245a3c6e36cc86b817a839c2d7206d6 [2025-02-18 16:17:52.088][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.Hyo8v/nLjGjnRICfZoev8A==|LqrCQQv4P1yBwgFfw6aNpzm912Zo6b2OazGFs2Oo0/4=|VC7g+uKcoVSYPG64wf/YiteFSmc3zWB0zEHGwCtAPHs=' got 'YiteFSmc3zWB0zEHGwCtAPHs=' [2025-02-18 16:17:52.088][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request [2025-02-18 16:17:52.105][request][INFO] DELETE /api/sends/a55fe284-c514-4eb7-8090-66af49450a03 [2025-02-18 16:17:52.109][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK [2025-02-18 16:17:54.265][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:54.269][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:54.290][request][INFO] POST /api/sends/ebeb01d1-b541-4a93-b645-f2e425d4519f/file/9c7a8a870cd8e1ab84c0b45cdadf387f5f0d02bbe7ac5a282f725eb05fc28b2b [2025-02-18 16:17:54.294][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 200 OK [2025-02-18 16:17:56.496][request][INFO] POST /api/sends/file/v2 [2025-02-18 16:17:56.500][response][INFO] (post_send_file_v2) POST /api/sends/file/v2 => 200 OK [2025-02-18 16:17:56.521][request][INFO] POST /api/sends/c30e904b-8fd5-4b74-b35e-9fd57dbf3900/file/59b36ff1699c880907504f821f3fb8f5a0a79199efe73e73663f09041f48423c [2025-02-18 16:17:56.523][vaultwarden::api::core::sends][ERROR] Send file name does not match.. Expected file name '2.GE05eOGFOq3HmWa+E1PjJw==|x10OUc4nIrKVLAohur6HlA==|bJe/mPXL9PVpj9JBj5xKZSjwsnyuxfv3udnYFdQVImA=' got 'mPXL9PVpj9JBj5xKZSjwsnyuxfv3udnYFdQVImA=' [2025-02-18 16:17:56.523][response][INFO] (post_send_file_v2_data) POST /api/sends/<send_id>/file/<file_id> multipart/form-data => 400 Bad Request [2025-02-18 16:17:56.540][request][INFO] DELETE /api/sends/c30e904b-8fd5-4b74-b35e-9fd57dbf3900 [2025-02-18 16:17:56.544][response][INFO] (delete_send) DELETE /api/sends/<send_id> => 200 OK ``` ### Screenshots or Videos _No response_ ### Additional Context My usecase is I often have to send many files to team members within my organization, and use python + the bitwarden cli to do so. This makes that almost impossible without manual intervention
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#179