aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2024-01-19 09:40:51 +0200
committerAndrew Lewis <nerf@judo.za.org>2024-01-19 09:40:51 +0200
commitb9beb4ce7e551f3eb2811eaf0593455e0cbdc029 (patch)
treea05192d248b71ded8ca34f32d042e9b563f391d2 /src/plugins
parent6359ef95937cddbc1b0ec3008a0d9a1dd55a0b32 (diff)
downloadrspamd-b9beb4ce7e551f3eb2811eaf0593455e0cbdc029.tar.gz
rspamd-b9beb4ce7e551f3eb2811eaf0593455e0cbdc029.zip
[Fix] multimap: rawtext: use decoded parts
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/multimap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua
index b48f7bdff..53b273227 100644
--- a/src/plugins/lua/multimap.lua
+++ b/src/plugins/lua/multimap.lua
@@ -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