aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-15 18:08:31 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-15 18:08:31 +0000
commitca8c6f418c0bc4fe36da452d0153b6a81731dfe8 (patch)
tree3e5112c8290e9f067a866ea11889daeda1b47d65 /src/libmime
parent1e672eedb5921441ef7ba300548e72c9b2dd860a (diff)
downloadrspamd-ca8c6f418c0bc4fe36da452d0153b6a81731dfe8.tar.gz
rspamd-ca8c6f418c0bc4fe36da452d0153b6a81731dfe8.zip
[Minor] Add ANSI to the list of non-converted encodings
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/mime_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c
index f58d62b47..d2081e6c0 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);
}