aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_mime.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-05 14:24:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-05 14:24:00 +0000
commit200a8fb20eb8df438e88abf5525412b12c06d31f (patch)
treeb8afcd1659b65bcc6f3ea69927dc794f4bf65ed8 /lualib/lua_mime.lua
parent7576b45c2c1cce5bea2318ed0d0e5f5ea2392244 (diff)
downloadrspamd-200a8fb20eb8df438e88abf5525412b12c06d31f.tar.gz
rspamd-200a8fb20eb8df438e88abf5525412b12c06d31f.zip
[Minor] Add boundary to the structured representation of the parts
Diffstat (limited to 'lualib/lua_mime.lua')
-rw-r--r--lualib/lua_mime.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index a09ef84f8..cc9636a17 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -599,6 +599,7 @@ exports.message_to_ucl = function(task)
p.filename = part:get_filename()
p.content = part:get_content()
p.headers = part:get_headers(true) or {}
+ p.boundary = part:get_boundary()
table.insert(result.parts, p)
end
end