diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-18 19:37:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-18 19:37:40 +0100 |
commit | ff197c9878eac8aab3c6c54f0c522b621652b08c (patch) | |
tree | b0f85f69e31bffd591b8f28489c0b3a8c9b15bb7 | |
parent | 1a75fd8eaf4f58c9b6527f9055e5c1d7eb318bd6 (diff) | |
download | rspamd-ff197c9878eac8aab3c6c54f0c522b621652b08c.tar.gz rspamd-ff197c9878eac8aab3c6c54f0c522b621652b08c.zip |
[Fix] Fix get_content method
Issue: #1759
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index 43b3fcffd..a22f51912 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -745,6 +745,7 @@ rspamd_message_process_text_part (struct rspamd_task *task, text_part->html = rspamd_mempool_alloc0 (task->task_pool, sizeof (*text_part->html)); text_part->mime_part = mime_part; + text_part->utf_raw_content = part_content; text_part->flags |= RSPAMD_MIME_TEXT_PART_FLAG_BALANCED; text_part->content = rspamd_html_process_part_full ( @@ -754,7 +755,6 @@ rspamd_message_process_text_part (struct rspamd_task *task, &text_part->exceptions, task->urls, task->emails); - text_part->utf_raw_content = part_content; if (text_part->content->len == 0) { text_part->flags |= RSPAMD_MIME_TEXT_PART_FLAG_EMPTY; |