]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add application/xml CT for xml extension 2036/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 27 Feb 2018 07:29:12 +0000 (10:29 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 27 Feb 2018 07:29:12 +0000 (10:29 +0300)
src/plugins/lua/mime_types.lua

index 5eae115e0f3a36152914a76d63c44c2311464572..27dbfc89c7b189ec32c99fd4c22da1b998e8d28c 100644 (file)
@@ -781,7 +781,7 @@ local full_extensions_map = {
   {"xltm", "application/vnd.ms-excel.template.macroEnabled.12"},
   {"xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"},
   {"xlw", "application/vnd.ms-excel"},
-  {"xml", "text/xml"},
+  {"xml", {"application/xml", "text/xml"}},
   {"xmp", "application/octet-stream" },
   {"xmta", "application/xml"},
   {"xof", "x-world/x-vrml"},