aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_content
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-18 12:21:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-18 12:21:46 +0100
commit6c190eb0fe515b006ede2fd33283f15ccb2ba3cc (patch)
tree33744fae0b72612a6cdc47f7a931b26e88750e92 /lualib/lua_content
parent007a4abff494ecfb9f80de1f6ac9505644968a0e (diff)
downloadrspamd-6c190eb0fe515b006ede2fd33283f15ccb2ba3cc.tar.gz
rspamd-6c190eb0fe515b006ede2fd33283f15ccb2ba3cc.zip
[Minor] Restore scripts flag
Diffstat (limited to 'lualib/lua_content')
-rw-r--r--lualib/lua_content/pdf.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua
index 53b980f1a..141a07a5f 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