-
Notifications
You must be signed in to change notification settings - Fork 528
Description
Steps to reproduce
Open the Element iOS app and initiate a private conversation with another user.
Using the Element iOS app, send a video file to the other user. Ensure the video has a specific filename (e.g., "ProjectPresentation_v2.mp4").
On the receiving device using Element Web open the conversation and attempt to download the video sent from the iOS app.
Outcome
What did you expect?
The downloaded video should retain its original filename ("ProjectPresentation_v2.mp4" in this example).
A preview of the video should be displayed within Element Web before downloading.
What happened instead?
The downloaded video is renamed to "Video.mp4."
No video preview is available on the receiving device.
Related issue:
According to investigation, this is due to the sending iOS Element client not including a filename in the Matrix send request. The Matrix specification dictates that if no filename is provided, the body of the request is used. Without a matching file extension for the mimetype (video/mp4), Element sanitizes the filename during download as a security measure (GHSA-5486-384g-mcx2).
See more here: element-hq/element-web#30166
Your phone model
No response
Operating system version
No response
Application version
No response
Homeserver
No response
Will you send logs?
No