summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-04 17:50:52 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-04 17:50:52 +0100
commit801382dd66b7edd39d43a7f85d7ccbfa8707e612 (patch)
treedbe74f9686ace2e0d0c9e2206d2fadea162acbbb
parent359c9e5467a3d190e7c4ac085ac0788e918e9301 (diff)
downloadUXP-801382dd66b7edd39d43a7f85d7ccbfa8707e612.tar
UXP-801382dd66b7edd39d43a7f85d7ccbfa8707e612.tar.gz
UXP-801382dd66b7edd39d43a7f85d7ccbfa8707e612.tar.lz
UXP-801382dd66b7edd39d43a7f85d7ccbfa8707e612.tar.xz
UXP-801382dd66b7edd39d43a7f85d7ccbfa8707e612.zip
Swap default platform state for opportunistic encryption.
Tag #863
-rw-r--r--application/basilisk/app/profile/basilisk.js3
-rw-r--r--modules/libpref/init/all.js4
2 files changed, 5 insertions, 2 deletions
diff --git a/application/basilisk/app/profile/basilisk.js b/application/basilisk/app/profile/basilisk.js
index eeec29eb9..c326698de 100644
--- a/application/basilisk/app/profile/basilisk.js
+++ b/application/basilisk/app/profile/basilisk.js
@@ -580,6 +580,9 @@ pref("network.captive-portal-service.enabled", true);
// If true, network link events will change the value of navigator.onLine
pref("network.manage-offline-status", true);
+// Enable opportunistic encryption by default
+pref("network.http.opportunistic-encryption", true);
+
// We want to make sure mail URLs are handled externally...
pref("network.protocol-handler.external.mailto", true); // for mail
pref("network.protocol-handler.external.news", true); // for news
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 4c3fedaf3..8dbbefb6e 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1374,8 +1374,8 @@ pref("network.tickle-wifi.delay", 16);
// Turn off interprocess security checks. Needed to run xpcshell tests.
pref("network.disable.ipc.security", false);
-// Send upgrade-insecure-requests HTTP header
-pref("network.http.opportunistic-encryption", true);
+// Send upgrade-insecure-requests HTTP header?
+pref("network.http.opportunistic-encryption", false);
// Default action for unlisted external protocol handlers
pref("network.protocol-handler.external-default", true); // OK to load