]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Add content type to MIME_BAD_ATTACHMET symbol
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Sep 2021 14:52:25 +0000 (15:52 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Sep 2021 14:52:25 +0000 (15:52 +0100)
src/plugins/lua/mime_types.lua

index 2e5dee9677323536b6e923b5e67476a1faeaf311..fd1c7e2d52af35ac50319ed03799399259e217ac 100644 (file)
@@ -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