23 lines
924 B
Diff
23 lines
924 B
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: qua3k <cliffmaceyak@gmail.com>
|
||
|
Date: Mon, 18 Oct 2021 17:18:52 -0400
|
||
|
Subject: [PATCH] Make HTTPS-only mode the default
|
||
|
|
||
|
---
|
||
|
chrome/browser/ui/browser_ui_prefs.cc | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
|
||
|
index 38cf871e46620..b4053d143f835 100644
|
||
|
--- a/chrome/browser/ui/browser_ui_prefs.cc
|
||
|
+++ b/chrome/browser/ui/browser_ui_prefs.cc
|
||
|
@@ -164,7 +164,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
|
||
|
#endif
|
||
|
|
||
|
registry->RegisterBooleanPref(
|
||
|
- prefs::kHttpsOnlyModeEnabled, false,
|
||
|
+ prefs::kHttpsOnlyModeEnabled, true,
|
||
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||
|
registry->RegisterListPref(prefs::kHttpAllowlist);
|
||
|
registry->RegisterBooleanPref(prefs::kHttpsUpgradesEnabled, true);
|