From: Vsevolod Stakhov Date: Thu, 15 Dec 2016 18:08:31 +0000 (+0000) Subject: [Minor] Add ANSI to the list of non-converted encodings X-Git-Tag: 1.5.0~569 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca8c6f418c0bc4fe36da452d0153b6a81731dfe8;p=thirdparty%2Frspamd.git [Minor] Add ANSI to the list of non-converted encodings --- diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c index f58d62b47f..d2081e6c06 100644 --- a/src/libmime/mime_encoding.c +++ b/src/libmime/mime_encoding.c @@ -216,7 +216,7 @@ rspamd_mime_text_part_maybe_convert (struct rspamd_task *task, if (utf_compatible_re == NULL) { utf_compatible_re = rspamd_regexp_new ( - "^(?:utf-?8.*)|(?:us-ascii)|(?:ascii)|(?:us)|(?:ISO-8859-1)|" + "^(?:utf-?8.*)|(?:us-ascii)|(?:ascii)|(?:ansi)|(?:us)|(?:ISO-8859-1)|" "(?:latin.*)|(?:CSASCII)$", "i", NULL); }