Browse Source

[Minor] Incorporate additional bad attachments from Microsoft

These are as follows:
- htc: HTML Component File
- pyc: Compiled Python Script
- pyo: Optimized Compiled Python Module
- pyw: Python Script To Be Executed With Suppressed Terminal Window
- pyz: Python Zip Application
- pyzw: Python Zip Application
- vhd: Virtual Hard Disk
- vhdx: Virtual Hard Disk Extended
- wsf: Windows Script File

Note that the Python file types remain unscored in archives, so
distribution of these in source tarballs and the like is not affected by
this commit.

Source: https://support.microsoft.com/en-us/office/blocked-attachments-in-outlook-434752e1-02d3-4e90-9124-8b81e49a8519?ui=en-us&rs=en-us&ad=us
tags/3.7.2
twesterhever 7 months ago
parent
commit
e484b311bb
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/plugins/lua/mime_types.lua

+ 9
- 0
src/plugins/lua/mime_types.lua View File

@@ -111,6 +111,7 @@ local settings = {
hlp = 4,
hpj = 4,
hta = 4,
htc = 4,
inf = 4,
its = 4,
jnlp = 4,
@@ -157,6 +158,11 @@ local settings = {
psd1 = 4,
psdm1 = 4,
pst = 4,
pyc = 4,
pyo = 4,
pyw = 4,
pyz = 4,
pyzw = 4,
reg = 4,
scf = 4,
scr = 4,
@@ -164,11 +170,14 @@ local settings = {
theme = 4,
url = 4,
vbp = 4,
vhd = 4,
vhdx = 4,
vsmacros = 4,
vsw = 4,
webpnp = 4,
website = 4,
ws = 4,
wsf = 4,
xbap = 4,
xll = 4,
xnk = 4,

Loading…
Cancel
Save