diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-23 17:48:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-23 17:48:34 +0000 |
commit | 75d5d020bce87534c3f802e20bbf0bca465705d2 (patch) | |
tree | 36283dcd8258c55dd9d44625004992f05218bc80 /src/libmime/archives.c | |
parent | f1262b46f67e6a99d12052da93e8157e0935783c (diff) | |
download | rspamd-75d5d020bce87534c3f802e20bbf0bca465705d2.tar.gz rspamd-75d5d020bce87534c3f802e20bbf0bca465705d2.zip |
[Minor] Skip double utf8 checks
Diffstat (limited to 'src/libmime/archives.c')
-rw-r--r-- | src/libmime/archives.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/archives.c b/src/libmime/archives.c index 595ca8711..c6e2066f5 100644 --- a/src/libmime/archives.c +++ b/src/libmime/archives.c @@ -58,7 +58,7 @@ rspamd_archive_file_try_utf (struct rspamd_task *task, const gchar *charset = NULL, *p, *end; GString *res; - charset = rspamd_mime_charset_find_by_content (in, inlen); + charset = rspamd_mime_charset_find_by_content (in, inlen, TRUE); if (charset) { UChar *tmp; |