]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Lua_magic: RTF should not be treated as text without conversion
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 Nov 2020 11:30:31 +0000 (11:30 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 Nov 2020 11:35:47 +0000 (11:35 +0000)
lualib/lua_magic/types.lua

index 3a104a537233519a3b66952689b2ff9bddc621de..32f9f4e733497e4c79ad97630e9372ee407a49f1 100644 (file)
@@ -54,7 +54,7 @@ local types = {
   -- text
   rtf = {
     ct = "application/rtf",
-    type = 'text',
+    type = 'binary',
   },
   pdf = {
     ct = 'application/pdf',