]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
* Assume all text/* content types as text/plain
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Wed, 1 Sep 2010 14:19:13 +0000 (18:19 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Wed, 1 Sep 2010 14:19:13 +0000 (18:19 +0400)
src/message.c

index ac3dcb88f0fb529c458be9d020f1fe71134b08e9..7a2e80e78a384452e76a93a8bee71f06b5bd857a 100644 (file)
@@ -586,7 +586,7 @@ process_text_part (struct worker_task *task, GByteArray *part_content, GMimeCont
                memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_tree_destroy, text_part->urls);
                task->text_parts = g_list_prepend (task->text_parts, text_part);
        }
-       else if (g_mime_content_type_is_type (type, "text", "plain")) {
+       else if (g_mime_content_type_is_type (type, "text", "*")) {
                debug_task ("got urls from text/plain part");
 
                text_part = memory_pool_alloc0 (task->task_pool, sizeof (struct mime_text_part));