This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Internal server error when uploading encrypted image with correct mimetype #7126
Labels
A-Media-Repository
Uploading, downloading images and video, thumbnailing
Description
If the client tries to upload an encrypted image with the Content-Type for example "image/jpeg", the server response with "Internal server error". For encrypted images I need to change the Content-Type to "application/octet-stream".
Steps to reproduce
Expected:
The server recognized that the file is encrypted and handles it like a blob and does not respond with an internal server error.
Actual:
Can't upload the image without an internal server error.
Version information
If not matrix.org:
Version: Can tell you this later today
Install method: Docker, more information will come later today
The text was updated successfully, but these errors were encountered: