Skip to content

Commit

Permalink
Merge pull request #4680 from twesterhever/temp-zpaq
Browse files Browse the repository at this point in the history
[Minor] Treat *.zpaq attachments as archives and harmful
  • Loading branch information
vstakhov committed Nov 3, 2023
2 parents 5eaf34b + fee3996 commit 740e183
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 740e183

Please sign in to comment.