From: Vsevolod Stakhov Date: Wed, 4 Nov 2020 11:30:31 +0000 (+0000) Subject: [Minor] Lua_magic: RTF should not be treated as text without conversion X-Git-Tag: 2.7~176 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7998548c40e0cbeab4cdf4750415cf4648b31ba4;p=thirdparty%2Frspamd.git [Minor] Lua_magic: RTF should not be treated as text without conversion --- diff --git a/lualib/lua_magic/types.lua b/lualib/lua_magic/types.lua index 3a104a5372..32f9f4e733 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',