From 7998548c40e0cbeab4cdf4750415cf4648b31ba4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 4 Nov 2020 11:30:31 +0000 Subject: [PATCH] [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 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', -- 2.47.3