From: Alexander Moisseev Date: Wed, 27 Feb 2019 06:51:22 +0000 (+0300) Subject: [Minor] Allow "application/x-msdownload" for "exe" files X-Git-Tag: 1.9.0~75^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2770%2Fhead;p=rspamd.git [Minor] Allow "application/x-msdownload" for "exe" files --- 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"},