add inetloc and webloc to potentially executable extensions

This commit is contained in:
Cameron Kaiser 2021-09-23 14:14:20 -07:00
parent a3a4a114b6
commit 7363964adb
1 changed files with 2 additions and 0 deletions

View File

@ -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
};