commit 93f331b: [Minor] Allow "application/x-msdownload" for "exe" files

GitHub noreply at github.com
Wed Feb 27 14:35:04 UTC 2019


Author: Alexander Moisseev
Date: 2019-02-27 09:51:22 +0300
URL: https://github.com/rspamd/rspamd/commit/93f331b26741e0db1b286497d5b33b8c19c8b49a (refs/pull/2770/head)

[Minor] Allow "application/x-msdownload" for "exe" files

---
 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 bf2654676..98acd463f 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -334,7 +334,7 @@ local full_extensions_map = {
   {"etl", "application/etl"},
   {"etx", "text/x-setext"},
   {"evy", "application/envoy"},
-  {"exe", "application/x-dosexec"},
+  {"exe", {"application/x-dosexec", "application/x-msdownload"}},
   {"exe.config", "text/xml"},
   {"fdf", "application/vnd.fdf"},
   {"fif", "application/fractals"},


More information about the Commits mailing list