From 7363964adbadab855dd5821c18bbee336649b24a Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Thu, 23 Sep 2021 14:14:20 -0700 Subject: [PATCH] add inetloc and webloc to potentially executable extensions --- xpcom/io/nsLocalFileUnix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp index 90bde452e..08be1fcd8 100644 --- a/xpcom/io/nsLocalFileUnix.cpp +++ b/xpcom/io/nsLocalFileUnix.cpp @@ -1574,7 +1574,9 @@ nsLocalFile::IsExecutable(bool* aResult) static const char* const executableExts[] = { "air", // Adobe AIR installer #ifdef MOZ_WIDGET_COCOA + "inetloc", // https://ssd-disclosure.com/ssd-advisory-macos-finder-rce/ "fileloc", // File location files can be used to point to other files. + "webloc", // same URL #endif "jar" // java application bundle };