summaryrefslogtreecommitdiff
path: root/xpcom/io
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-28 19:47:49 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-28 19:57:38 +0200
commita5a4add205921a5e6311bb10503ee7fa4f189a55 (patch)
tree9c7ec87c9a6778f8ca6c036e8f3e4058a0a0485b /xpcom/io
parentea0aafa0acdb58b25eab07934984cbebaac847ae (diff)
downloadaura-central-a5a4add205921a5e6311bb10503ee7fa4f189a55.tar.gz
Revert "Treat *.jnlp as an executable class file, like *.jar"
Rationale: This was a Mozilla oversight and/or error. This change has caused harm and is causing users to switch back to Chrome, Safari or Edge for their WebStart needs. JNLP is not an executable and should not be treated as such. JNLP should be treated the same as any (e.g. Word) document and allowed to be opened with the designated program. A JNLP file will not cause execution on a system unless it has a valid signature, and the user explicitly authorizes the launching based on information provided by the signature. Moreover, there will even be a check by the Java environment to see if the Java runtime (if there is one) is current, and prompt the user to update if required. This reverts commit 21495c58976e3cbbfe54d2e54d1fd67e36dff2a6 and modifies ApplicationReputation.cpp to keep the list in sync (was a discrepancy before).
Diffstat (limited to 'xpcom/io')
-rw-r--r--xpcom/io/nsLocalFileWin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp
index 23c283f95..e73e15950 100644
--- a/xpcom/io/nsLocalFileWin.cpp
+++ b/xpcom/io/nsLocalFileWin.cpp
@@ -3034,7 +3034,6 @@ nsLocalFile::IsExecutable(bool* aResult)
"ins",
"isp",
"jar", // java application bundle
- "jnlp", // java web start
"js",
"jse",
"lnk",