diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-03 12:13:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-03 12:13:18 +0000 |
commit | 2e50ad95a3cc6e9f9ec0dbb1cc3523ef00ef0d1f (patch) | |
tree | 2e262bce29a9074d6038da7a025c3bfbf21b09ab /src/libmime | |
parent | b4442b41baab6160e87098f52b94def24b97e066 (diff) | |
download | rspamd-2e50ad95a3cc6e9f9ec0dbb1cc3523ef00ef0d1f.tar.gz rspamd-2e50ad95a3cc6e9f9ec0dbb1cc3523ef00ef0d1f.zip |
[Fix] Do not trigger BROKEN_CONTENT_TYPE on innocent text parts
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/message.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index 411b3bf03..a5faaf017 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -758,12 +758,11 @@ rspamd_message_process_text_part_maybe (struct rspamd_task *task, found_txt = TRUE; } else { - msg_info_task ("found mime part with incorrect content-type: %T/%T, " + msg_debug_task ("found mime part with incorrect content-type: %T/%T, " "filename: %T", &mime_part->ct->type, &mime_part->ct->subtype, &mime_part->cd->filename); - mime_part->ct->flags |= RSPAMD_CONTENT_TYPE_BROKEN; } } else { |