[Commits] [SCM] claws branch, master, updated. 4.3.0-32-g4f9e295d3
paul at claws-mail.org
paul at claws-mail.org
Tue Aug 20 09:10:28 UTC 2024
The branch, master has been updated
via 4f9e295d34c6dfa69aa9fc8fc526c11bc70eb675 (commit)
from d92dfd13745aac59923d8ff88e89057d966295b5 (commit)
Summary of changes:
src/procmime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 4f9e295d34c6dfa69aa9fc8fc526c11bc70eb675
Author: Paul <paul at claws-mail.org>
Date: Tue Aug 20 10:10:23 2024 +0100
workaround buggy MUAs which set a Content-Disposition header on non-multipart messages
diff --git a/src/procmime.c b/src/procmime.c
index 627b91f83..1f2144bfd 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -2078,7 +2078,7 @@ static int procmime_parse_mimepart(MimeInfo *parent,
else
mimeinfo->location = NULL;
- if (content_disposition != NULL) {
+ if (content_disposition != NULL && mimeinfo->type == MIMETYPE_MULTIPART) {
g_strchomp(content_disposition);
procmime_parse_content_disposition(content_disposition, mimeinfo);
} else
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list