diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-09 15:52:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-09 15:52:25 +0100 |
commit | 196353b297af477034e0e313acbea50b33dc98e2 (patch) | |
tree | 0e99f44dab255434bcefad8e9f080c9f343e5d7b /src | |
parent | 4dcee38fd3728efb9ec7b1309526e174eb918b21 (diff) | |
download | rspamd-196353b297af477034e0e313acbea50b33dc98e2.tar.gz rspamd-196353b297af477034e0e313acbea50b33dc98e2.zip |
[Minor] Add content type to MIME_BAD_ATTACHMET symbol
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/mime_types.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 2e5dee967..fd1c7e2d5 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -380,7 +380,8 @@ local function check_mime_type(task) end if not found then - task:insert_result(settings['symbol_attachment'], mult, ext) + task:insert_result(settings['symbol_attachment'], mult, string.format('%s:%s', + ext, ct)) end end end |