summaryrefslogtreecommitdiffstats
path: root/toolkit/components
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
commit32e6b0f4711cd65ec513f3f3aa64779293b458be (patch)
tree9c7ec87c9a6778f8ca6c036e8f3e4058a0a0485b /toolkit/components
parentb9acf529ef9d0007214950e5d81f03236b200acf (diff)
downloadUXP-32e6b0f4711cd65ec513f3f3aa64779293b458be.tar
UXP-32e6b0f4711cd65ec513f3f3aa64779293b458be.tar.gz
UXP-32e6b0f4711cd65ec513f3f3aa64779293b458be.tar.lz
UXP-32e6b0f4711cd65ec513f3f3aa64779293b458be.tar.xz
UXP-32e6b0f4711cd65ec513f3f3aa64779293b458be.zip
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 'toolkit/components')
-rw-r--r--toolkit/components/downloads/ApplicationReputation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/downloads/ApplicationReputation.cpp b/toolkit/components/downloads/ApplicationReputation.cpp
index 9fdc8a103..6adefbb8b 100644
--- a/toolkit/components/downloads/ApplicationReputation.cpp
+++ b/toolkit/components/downloads/ApplicationReputation.cpp
@@ -467,7 +467,7 @@ static const char16_t* kBinaryFileExtensions[] = {
u".isp", // IIS config
//u".isu", // InstallShield
u".jar", // Java
- u".jnlp", // Java
+ //u".jnlp", // Java
//u".job", // Windows
u".js", // JavaScript script
u".jse", // JScript