]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Aws: Use enclosing boundary
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 5 Nov 2021 14:59:37 +0000 (14:59 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 5 Nov 2021 14:59:37 +0000 (14:59 +0000)
lualib/lua_mime.lua

index cc9636a17d8098a44ebe3ef4f8b5bf7dafe4a178..44294efff145200cd3040b5a119c6f9cf68746e2 100644 (file)
@@ -599,7 +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()
+      p.boundary = part:get_enclosing_boundary()
       table.insert(result.parts, p)
     end
   end