diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-22 17:05:28 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-22 17:05:28 +0000 |
commit | 11129bd76b5334411ed4aa7b28bf342708069df4 (patch) | |
tree | a7cf56c0e17fe8f8344a6755314f6f4d0085b3c2 /src | |
parent | 3b442dfa9726d3991213a3e3db894b462bcae479 (diff) | |
download | rspamd-11129bd76b5334411ed4aa7b28bf342708069df4.tar.gz rspamd-11129bd76b5334411ed4aa7b28bf342708069df4.zip |
[Minor] Fix iso charsets normalization
Diffstat (limited to 'src')
-rw-r--r-- | src/libmime/mime_encoding.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c index adde740be..bd339d986 100644 --- a/src/libmime/mime_encoding.c +++ b/src/libmime/mime_encoding.c @@ -106,8 +106,7 @@ rspamd_mime_detect_charset (const rspamd_ftok_t *in, rspamd_mempool_t *pool) rspamd_charset_normalize (ret); if ((in->len > 3 && rspamd_lc_cmp (in->begin, "cp-", 3) == 0) || - (in->len > 4 && (rspamd_lc_cmp (in->begin, "ibm-", 4) == 0 || - rspamd_lc_cmp (in->begin, "iso-", 4) == 0) )) { + (in->len > 4 && (rspamd_lc_cmp (in->begin, "ibm-", 4) == 0))) { /* Try to remove '-' chars from encoding: e.g. CP-100 to CP100 */ h = ret; t = ret; |