mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user