]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-mail: Refactor and improve attachment detection
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 18 Feb 2025 21:40:20 +0000 (22:40 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 22 Apr 2025 16:29:16 +0000 (16:29 +0000)
commitbdff009cb37eb51aa7a00e17e1b346df18f95bec
tree2800585de5c42b7acf16f2a3c1c3138fe05e5cab
parent93c5c8119ac6f5b51ed1dd86ab904f79f24199f7
lib-mail: Refactor and improve attachment detection

This also adds support for detecting Content-Type->name when Content-Disposition->filename
is not available. This only works in the case of Content-Disposition: attachment.
src/lib-mail/message-part-data.c
src/lib-mail/message-part-data.h