Skip to content

Commit

Permalink
[Minor] Treat *.zpaq attachments as archives and harmful
Browse files Browse the repository at this point in the history
  • Loading branch information
twesterhever committed Nov 3, 2023
1 parent 533e56e commit fee3996
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/lua/mime_types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ local settings = {
exe = 1,
iso = 4,
jar = 2,
zpaq = 2,
-- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful
htm = 1,
html = 1,
Expand Down Expand Up @@ -218,6 +219,7 @@ local settings = {
rar = 1,
xz = 1,
zip = 1,
zpaq = 1,
},

-- Not really archives
Expand Down

0 comments on commit fee3996

Please sign in to comment.