diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-03 14:46:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 14:46:14 +0000 |
commit | 740e1833a5fb8e912aa0c9c4bd3dd7a63ca488c9 (patch) | |
tree | a53c7ec7b3850b4dd04ec959b3a3c6645fe25ae2 | |
parent | 5eaf34b5c5488aefb221de17e4ffbf5fd6d7ea60 (diff) | |
parent | fee399699dd908f5ea229070f28fcb6cf8e5ac6e (diff) | |
download | rspamd-740e1833a5fb8e912aa0c9c4bd3dd7a63ca488c9.tar.gz rspamd-740e1833a5fb8e912aa0c9c4bd3dd7a63ca488c9.zip |
Merge pull request #4680 from twesterhever/temp-zpaq
[Minor] Treat *.zpaq attachments as archives and harmful
-rw-r--r-- | src/plugins/lua/mime_types.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index ebd8a8028..167ed38e2 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -56,6 +56,7 @@ local settings = { exe = 1, iso = 4, jar = 2, + zpaq = 2, -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful htm = 1, html = 1, @@ -218,6 +219,7 @@ local settings = { rar = 1, xz = 1, zip = 1, + zpaq = 1, }, -- Not really archives |