From: Vsevolod Stakhov Date: Tue, 18 Aug 2020 11:21:46 +0000 (+0100) Subject: [Minor] Restore scripts flag X-Git-Tag: 2.6~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c190eb0fe515b006ede2fd33283f15ccb2ba3cc;p=thirdparty%2Frspamd.git [Minor] Restore scripts flag --- diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua index 53b980f1a5..141a07a5f0 100644 --- a/lualib/lua_content/pdf.lua +++ b/lualib/lua_content/pdf.lua @@ -1271,6 +1271,9 @@ local function process_pdf(input, mpart, task) if pdf_object.encrypted then pdf_output.encrypted = true end + if pdf_object.scripts then + pdf_output.scripts = true + end return pdf_output end