summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-01-19 18:33:09 +0600
committerGitHub <noreply@github.com>2024-01-19 18:33:09 +0600
commitdce83e56e838c9092320c45e6ad9424f25a3b39e (patch)
tree85551acf6e505af93583cfb8d0c0ee2ccc9460a5 /src
parentadf0dae1e88fe3c016f0cb5ae3b1690ab145b9fd (diff)
parentb9beb4ce7e551f3eb2811eaf0593455e0cbdc029 (diff)
downloadrspamd-dce83e56e838c9092320c45e6ad9424f25a3b39e.tar.gz
rspamd-dce83e56e838c9092320c45e6ad9424f25a3b39e.zip
Merge pull request #4781 from fatalbanana/multimap_rawtext
[Fix] multimap: rawtext: use decoded parts
Diffstat (limited to 'src')
-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