diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-10 12:39:02 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-10 12:39:02 +0000 |
commit | 26a8dbfd045ae44a55dd3c690ac370806afa213f (patch) | |
tree | 5c1cbd117dba7856868a445a7a6b19cc470536fd | |
parent | fe3edc0dfa04158efee4fa935ab2640095265063 (diff) | |
download | rspamd-26a8dbfd045ae44a55dd3c690ac370806afa213f.tar.gz rspamd-26a8dbfd045ae44a55dd3c690ac370806afa213f.zip |
[Fix] Fix heuristical CTE detection for QP encoding
-rw-r--r-- | src/libmime/mime_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c index e535a6d56..7061bc429 100644 --- a/src/libmime/mime_parser.c +++ b/src/libmime/mime_parser.c @@ -245,7 +245,7 @@ rspamd_mime_part_get_cte (struct rspamd_task *task, struct rspamd_mime_part *par /* Additionally check sanity */ cte = rspamd_mime_part_get_cte_heuristic (task, part); - if (cte != part->cte) { + if (cte == RSPAMD_CTE_8BIT) { msg_info_task ("incorrect cte specified for part: %s, %s detected", rspamd_cte_to_string (part->cte), rspamd_cte_to_string (cte)); |