summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-04 11:30:31 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-04 11:35:47 +0000
commit7998548c40e0cbeab4cdf4750415cf4648b31ba4 (patch)
treea07549a419481f019f780e797857fb25ebc28766
parentef5ae43070a9d74e9205366666ea352440a85a23 (diff)
downloadrspamd-7998548c40e0cbeab4cdf4750415cf4648b31ba4.tar.gz
rspamd-7998548c40e0cbeab4cdf4750415cf4648b31ba4.zip
[Minor] Lua_magic: RTF should not be treated as text without conversion
-rw-r--r--lualib/lua_magic/types.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_magic/types.lua b/lualib/lua_magic/types.lua
index 3a104a537..32f9f4e73 100644
--- a/lualib/lua_magic/types.lua
+++ b/lualib/lua_magic/types.lua
@@ -54,7 +54,7 @@ local types = {
-- text
rtf = {
ct = "application/rtf",
- type = 'text',
+ type = 'binary',
},
pdf = {
ct = 'application/pdf',