Skip to content

Content-Type header is bogus on encrypted uploads, should be application/octet-stream or similar #24119

@86dd

Description

@86dd

Steps to reproduce

  1. Try to upload a file in an encrypted chat on a server proxied by lighttpd using mod_proxy
  2. devtools

Outcome

What did you expect?

  1. File uploads and gets sent without any issue

What happened instead?

  1. Request errors with HTTP 400

Operating system

Debian testing

Browser information

LibreWolf 107.0.1

URL for webapp

https://chat.cat.casa

Application version

Element version: 1.11.17, Olm version: 3.2.12

Homeserver

https://matrix.cat.casa

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EEA-File-UploadAttachments and file uploadsA-MediaO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions