commit 0341427: [Minor] Print all parts when printing html structure

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Jul 29 16:56:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-29 17:34:47 +0100
URL: https://github.com/rspamd/rspamd/commit/0341427d1c80155636c3eb7426318264e7d3590d

[Minor] Print all parts when printing html structure

---
 lualib/rspamadm/mime.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/rspamadm/mime.lua b/lualib/rspamadm/mime.lua
index 764d4f325..a92c8c01c 100644
--- a/lualib/rspamadm/mime.lua
+++ b/lualib/rspamadm/mime.lua
@@ -406,7 +406,7 @@ local function extract_handler(opts)
                 end
                 table.insert(res, elt)
               end)
-              out_elts[fname] = res
+              table.insert(out_elts[fname], res)
             else
               table.insert(out_elts[fname], tostring(part:get_content(how)))
             end


More information about the Commits mailing list