]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add boundary to the structured representation of the parts
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 5 Nov 2021 14:24:00 +0000 (14:24 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 5 Nov 2021 14:24:00 +0000 (14:24 +0000)
lualib/lua_mime.lua

index a09ef84f80ae6d0c91060e5f8060c62c9d5625d6..cc9636a17d8098a44ebe3ef4f8b5bf7dafe4a178 100644 (file)
@@ -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