aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-02-27 10:29:12 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-02-27 10:29:12 +0300
commit01390ee897e7e3f186f3abf8c009d07dc1247661 (patch)
treed9d61be94cf0a208cfda976c430b5a0910e995be
parent9a0ff1213ebf6d9c45f8305c01969110fe3cd7c1 (diff)
downloadrspamd-01390ee897e7e3f186f3abf8c009d07dc1247661.tar.gz
rspamd-01390ee897e7e3f186f3abf8c009d07dc1247661.zip
[Minor] Add application/xml CT for xml extension
-rw-r--r--src/plugins/lua/mime_types.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 5eae115e0..27dbfc89c 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -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"},