Skip to content

Commit

Permalink
[Minor] Increase scoring of *.exe attachments
Browse files Browse the repository at this point in the history
These are already banned in most environments, including GMail and
Outlook. We may as well bump this score up to 4 eventually.
  • Loading branch information
twesterhever committed Oct 22, 2023
1 parent e484b31 commit 8171424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/lua/mime_types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ local settings = {

bad_extensions = {
cue = 2,
exe = 1,
exe = 2,
iso = 4,
jar = 2,
-- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful
Expand Down

0 comments on commit 8171424

Please sign in to comment.