]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] multimap: rawtext: use decoded parts 4781/head
authorAndrew Lewis <nerf@judo.za.org>
Fri, 19 Jan 2024 07:40:51 +0000 (09:40 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 19 Jan 2024 07:40:51 +0000 (09:40 +0200)
src/plugins/lua/multimap.lua

index b48f7bdff290e3213c1c9ce3e632c5e0685a3974..53b273227bc1dc4826fa9b77797f5fad823cd766 100644 (file)
@@ -460,7 +460,7 @@ local function apply_content_filter(task, filter)
   elseif filter == 'rawtext' then
     local ret = {}
     for _, p in ipairs(task:get_text_parts()) do
-      table.insert(ret, p:get_raw_content())
+      table.insert(ret, p:get_content('raw_parsed'))
     end
     return ret
   elseif filter == 'oneline' then