From 8171424d846a3e33b5d0f9f7f4ee09ec8d553a03 Mon Sep 17 00:00:00 2001 From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:24:23 +0000 Subject: [PATCH] [Minor] Increase scoring of *.exe attachments These are already banned in most environments, including GMail and Outlook. We may as well bump this score up to 4 eventually. --- src/plugins/lua/mime_types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index d6a9ff06f..adf831716 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -53,7 +53,7 @@ local settings = { bad_extensions = { cue = 2, - exe = 1, + exe = 2, iso = 4, jar = 2, -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful -- 2.39.5