summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-16 17:59:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-16 17:59:10 +0000
commita63ec649af7d55282c9ee26cc0c771ea8b0e3ad7 (patch)
tree42fdc3f2ff3c6ee969f826f2081d6075c0ee5749
parent306a8e0c4cc8bbe26c0da5fa8a8339566118a421 (diff)
downloadrspamd-a63ec649af7d55282c9ee26cc0c771ea8b0e3ad7.tar.gz
rspamd-a63ec649af7d55282c9ee26cc0c771ea8b0e3ad7.zip
[Minor] Allow "text/richtext" for rtf files
-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 de925aee3..9b82779d0 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -599,7 +599,7 @@ local full_extensions_map = {
{"roff", "application/x-troff"},
{"rpm", "audio/x-pn-realaudio-plugin"},
{"rqy", "text/x-ms-rqy"},
- {"rtf", {"application/rtf","application/msword"}},
+ {"rtf", {"application/rtf","application/msword", "text/richtext"}},
{"rtx", "text/richtext"},
{"rvt", "application/octet-stream" },
{"ruleset", "application/xml"},