diff options
author | Moonchild <moonchild@palemoon.org> | 2023-10-25 18:20:53 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-10-25 18:20:53 +0200 |
commit | 98c3aa57431c4b158c750dfabfd0ab90708ebf16 (patch) | |
tree | a151112c146ec8a110785b2628d8252e6b27aa20 /xpcom | |
parent | 2c2ddd98d2923449b5998f3e1f829b6b524352ef (diff) | |
download | uxp-98c3aa57431c4b158c750dfabfd0ab90708ebf16.tar.gz |
[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.
Diffstat (limited to 'xpcom')
-rw-r--r-- | xpcom/io/nsLocalFileWin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp index e5a0131a77..a86d468775 100644 --- a/xpcom/io/nsLocalFileWin.cpp +++ b/xpcom/io/nsLocalFileWin.cpp @@ -3016,6 +3016,8 @@ nsLocalFile::IsExecutable(bool* aResult) "air", // Adobe AIR installer "app", // executable application "application", // from bug 348763 + "appx", + "appxbundle", "asp", "bas", "bat", @@ -3058,6 +3060,8 @@ nsLocalFile::IsExecutable(bool* aResult) "msh", // Microsoft Shell "mshxml", // Microsoft Shell "msi", + "msix", + "msixbundle", "msp", "mst", "ops", // Office Profile Settings |