]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Add ANSI to the list of non-converted encodings
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Dec 2016 18:08:31 +0000 (18:08 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Dec 2016 18:08:31 +0000 (18:08 +0000)
src/libmime/mime_encoding.c

index f58d62b47fbbe430bdb69f724729cc35ce39fff4..d2081e6c06583b76ca1ce750e99e1b4a042f1fc1 100644 (file)
@@ -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);
        }