]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Allow "application/x-msdownload" for "exe" files 2770/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 27 Feb 2019 06:51:22 +0000 (09:51 +0300)
committerGitHub <noreply@github.com>
Wed, 27 Feb 2019 06:51:22 +0000 (09:51 +0300)
src/plugins/lua/mime_types.lua

index bf26546765424c16e121cae36723cf22eaeba3fb..98acd463f1dea58c3223fda4fda360595a24e3af 100644 (file)
@@ -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"},