diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-13 15:43:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-13 15:43:33 +0100 |
commit | b715c7d3ad0cf8d898c4a0246d531c2f43ea6aff (patch) | |
tree | f821d269bab013b8a344aa9158f4d8bd6779394b /src/libmime/archives.c | |
parent | 836d0d30700b85a1411394c66208408868488dcf (diff) | |
download | rspamd-b715c7d3ad0cf8d898c4a0246d531c2f43ea6aff.tar.gz rspamd-b715c7d3ad0cf8d898c4a0246d531c2f43ea6aff.zip |
[Minor] Gzip archives are always deflate
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 12fa15276..595ca8711 100644 --- a/src/libmime/archives.c +++ b/src/libmime/archives.c @@ -1921,7 +1921,7 @@ rspamd_archives_process (struct rspamd_task *task) const guchar rar_magic[] = {0x52, 0x61, 0x72, 0x21, 0x1A, 0x07}; const guchar zip_magic[] = {0x50, 0x4b, 0x03, 0x04}; const guchar sz_magic[] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C}; - const guchar gz_magic[] = {0x1F, 0x8B}; + const guchar gz_magic[] = {0x1F, 0x8B, 0x08}; PTR_ARRAY_FOREACH (MESSAGE_FIELD (task, parts), i, part) { if (part->part_type == RSPAMD_MIME_PART_UNDEFINED) { |