commit 7bf9298: [Minor] Add "iso" to bad_extensions

Alexander Moisseev moiseev at mezonplus.ru
Thu Apr 18 13:14:03 UTC 2019


Author: Alexander Moisseev
Date: 2019-04-18 10:03:23 +0300
URL: https://github.com/rspamd/rspamd/commit/7bf9298501259406db79c24323b64fab48ea18e8 (refs/pull/2860/head)

[Minor] Add "iso" to bad_extensions

---
 src/plugins/lua/mime_types.lua | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 04655beb0..51a63f6d5 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -46,12 +46,13 @@ local settings = {
   },
 
   bad_extensions = {
-    scr = 4,
-    lnk = 4,
+    bat = 2,
+    com = 2,
     exe = 1,
+    iso = 4,
     jar = 2,
-    com = 2,
-    bat = 2,
+    lnk = 4,
+    scr = 4,
     -- Have you ever seen that in legit email?
     ace = 4,
     arj = 2,


More information about the Commits mailing list