diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-09 13:33:47 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-09 13:33:47 +0000 |
commit | c01f7bf658d8412d8885275a30abea0b6ea3909f (patch) | |
tree | 6f6de9685461c13b8e24511043394bb05e7b0097 /src | |
parent | f24563e2c46db27007964099d0a5d4a5a99e58e3 (diff) | |
download | rspamd-c01f7bf658d8412d8885275a30abea0b6ea3909f.tar.gz rspamd-c01f7bf658d8412d8885275a30abea0b6ea3909f.zip |
[Minor] Be more strict about bad mime structure
Diffstat (limited to 'src')
-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 ac0e90b05..e535a6d56 100644 --- a/src/libmime/mime_parser.c +++ b/src/libmime/mime_parser.c @@ -945,7 +945,7 @@ rspamd_mime_parse_message (struct rspamd_task *task, hdrs = rspamd_message_get_header_from_hash (task->raw_headers, task->task_pool, "Content-Type", FALSE); - task->flags |= RSPAMD_TASK_FLAG_BROKEN_HEADERS|RSPAMD_TASK_FLAG_EMPTY; + task->flags |= RSPAMD_TASK_FLAG_BROKEN_HEADERS; } else { body_pos = 0; |