mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 11:18:39 +09: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:
parent
aae5866390
commit
74a4260ecd
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue