commit 6b0df47: [Minor] mime_types: remove .tmp from bad_extensions

Alexander Moisseev moiseev at mezonplus.ru
Thu Feb 14 20:07:03 UTC 2019


Author: Alexander Moisseev
Date: 2019-02-14 19:08:02 +0300
URL: https://github.com/rspamd/rspamd/commit/6b0df471773c74c0a651da062344a950a4619bca (refs/pull/2756/head)

[Minor] mime_types: remove .tmp from bad_extensions
as it is not potentially harmful

Just a note: M$ Office documents are archives and some of them may contain *.tmp files
(as well as other actually potentially dangerous extensions).

---
 src/plugins/lua/mime_types.lua | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index ab2484c34..bf2654676 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -142,7 +142,6 @@ local settings = {
     scf = 2,
     shs = 2,
     theme = 2,
-    tmp = 2,
     url = 2,
     vbp = 2,
     vsmacros = 2,


More information about the Commits mailing list