mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-04 06:17:30 +09:00
Make opportunistic encryption configurable.
This adds a pref "network.http.opportunistic-encryption" that controls whether we send an "Upgrade-Insecure-Requests : 1" header on document navigation or not. This patch modifies the platform network parts. Default for the platform is "true". Part 1 for #863
This commit is contained in:
parent
071df50781
commit
363a47c4c1
3 changed files with 14 additions and 2 deletions
|
|
@ -1374,6 +1374,9 @@ 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);
|
||||
|
||||
// Default action for unlisted external protocol handlers
|
||||
pref("network.protocol-handler.external-default", true); // OK to load
|
||||
pref("network.protocol-handler.warn-external-default", true); // warn before load
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue