commit 7998548: [Minor] Lua_magic: RTF should not be treated as text without conversion
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Nov 4 11:42:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-11-04 11:30:31 +0000
URL: https://github.com/rspamd/rspamd/commit/7998548c40e0cbeab4cdf4750415cf4648b31ba4 (HEAD -> master)
[Minor] Lua_magic: RTF should not be treated as text without conversion
---
lualib/lua_magic/types.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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',
More information about the Commits
mailing list