commit cee6dbc: [Minor] Mime_types: Add additional ct for .exe

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Mar 22 15:00:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-22 14:56:30 +0000
URL: https://github.com/rspamd/rspamd/commit/cee6dbc1227d7e588fbf4bbde77840059387639b (HEAD -> master)

[Minor] Mime_types: Add additional ct for .exe

---
 src/plugins/lua/mime_types.lua | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 10f015bd6..c898540c0 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -336,7 +336,11 @@ local full_extensions_map = {
   {"etl", "application/etl"},
   {"etx", "text/x-setext"},
   {"evy", "application/envoy"},
-  {"exe", {"application/x-dosexec", "application/x-msdownload"}},
+  {"exe", {
+    "application/x-dosexec",
+    "application/x-msdownload",
+    "application/x-executable",
+  }},
   {"exe.config", "text/xml"},
   {"fdf", "application/vnd.fdf"},
   {"fif", "application/fractals"},


More information about the Commits mailing list