]> source.dussan.org Git - rspamd.git/commitdiff
Switch off legacy tokenization by default.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 May 2015 12:31:39 +0000 (13:31 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 May 2015 12:31:39 +0000 (13:31 +0100)
src/libmime/message.c

index d34dd559867c5a68b8661daf44a07b8587277ddd..6b83f8ba4c740a2fe0a6a09d50a438829c1a2ed7 100644 (file)
@@ -1345,7 +1345,7 @@ process_text_part (struct rspamd_task *task,
        detect_text_language (text_part);
        text_part->words = rspamd_tokenize_text (text_part->content->data,
                        text_part->content->len, IS_PART_UTF (text_part), task->cfg->min_word_len,
-                       text_part->urls_offset, TRUE);
+                       text_part->urls_offset, FALSE);
        rspamd_normalize_text_part (task, text_part);
 
        /* Calculate number of lines */