aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2019-02-01 10:27:16 +0300
committerGitHub <noreply@github.com>2019-02-01 10:27:16 +0300
commitd46a6a35c537375ad2a7a4265668460a19cbdcf0 (patch)
tree87ccd8f5383bf86fcbcf5e311d78eebd35264df0
parent9dcae9b27979fd4acc541d89877d74e6dc8e0980 (diff)
downloadrspamd-d46a6a35c537375ad2a7a4265668460a19cbdcf0.tar.gz
rspamd-d46a6a35c537375ad2a7a4265668460a19cbdcf0.zip
[Minor] Allow "text/rtf" 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 c741190b3..6588edcbf 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -607,7 +607,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", "text/richtext"}},
+ {"rtf", {"application/rtf","application/msword", "text/richtext", "text/rtf"}},
{"rtx", "text/richtext"},
{"rvt", "application/octet-stream" },
{"ruleset", "application/xml"},