[XPCOM] Add several app/msi file types to the executables list (Win).

This errs on the side of caution for what are installer packages, but
people getting conned into thinking this is safe is a bit too common.
They are akin in danger to .exe files in that respect as it installs
software, and should be treated similarly, so, warn about the potential
danger.
This commit is contained in:
Moonchild
2023-10-25 18:20:53 +02:00
committed by roytam1
parent aae5866390
commit 74a4260ecd
+4
View File
@@ -3020,6 +3020,8 @@ nsLocalFile::IsExecutable(bool* aResult)
"air", // Adobe AIR installer
"app", // executable application
"application", // from bug 348763
"appx",
"appxbundle",
"asp",
"bas",
"bat",
@@ -3062,6 +3064,8 @@ nsLocalFile::IsExecutable(bool* aResult)
"msh", // Microsoft Shell
"mshxml", // Microsoft Shell
"msi",
"msix",
"msixbundle",
"msp",
"mst",
"ops", // Office Profile Settings