Skip to content

Editing message with a built-in editor results in attachment with .dat extension #3543

@link2xt

Description

@link2xt

With core 1.154.1 and latest Android code, after editing the image on Android and sending, receivers (both Desktop and Android) get filename with .dat and it is not displayed as image.

Logs look like this:

18040.7s [i]core/event: 65 src/imap.rs:1464: Passing message UID 24045 to receive_imf().
18040.7s [i]core/event: 257 src/imap.rs:755: 0 mails read from "INBOX".
18040.8s [D]core/event: NewBlobFile 65 { file: '$BLOBDIR/image_2025-01-16_01-53-12.dat', kind: 'NewBlobFile' }
18040.8s [i]core/event: 65 src/mimeparser.rs:1397: added blobfile: "$BLOBDIR/image_2025-01-16_01-53-12.dat"

I have also seen files with blob names null-1(invalid)-1(invalid) and null-4(invalid)(invalid).
These (invalid) strings seem to be generated here:

Likely caused by #3521

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions