MSC2530 image captions are used as filenames #2882
Labels
A-Send_Attachments
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
Steps to reproduce
Outcome
What did you expect?
The
body
field to not be used as part of the filename, but thefilename
field instead (as per MSC2530)What happened instead?
2024-05-20T22:04:26.220575Z ERROR elementx: org.matrix.rustcomponents.sdk.ClientException$Generic: msg=File name too long (os error 36) at path "/data/user/0/io.element.android.x/cache/temp/media/.tmppY5zlJ/These words here are the body field of the m.image event.jpeg"
from an event that looks like
The image doesn't show/load in the timeline, and clicking on it gives a "Sorry, an error occurrred" message popup
It's possible that this is a Rust SDK bug, in which case please move this issue
Your phone model
No response
Operating system version
No response
Application version and app store
5d8cc80
Homeserver
No response
Will you send logs?
Yes
Are you willing to provide a PR?
Yes
The text was updated successfully, but these errors were encountered: