diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-03 16:30:16 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 16:30:16 +0600 |
commit | 117feb44708d70372507ead74a06ce40c38ddac2 (patch) | |
tree | f826e9df9327925caf0b10850884400392a3dfa2 | |
parent | 2a1fa7d08ec1703fd47b37ab014699f001fb3344 (diff) | |
parent | 873efdd75e0505260310fc2da19601897d839155 (diff) | |
download | rspamd-117feb44708d70372507ead74a06ce40c38ddac2.tar.gz rspamd-117feb44708d70372507ead74a06ce40c38ddac2.zip |
Merge pull request #4987 from twesterhever/temp-txz
[Minor] Treat *.txz 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 6506025aa..ec8e566f2 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, + txz = 2, zpaq = 2, -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful htm = 1, @@ -221,6 +222,7 @@ local settings = { egg = 1, lz = 1, rar = 1, + txz = 1, xz = 1, zip = 1, zpaq = 1, |