ma1 pushed to branch tor-browser-102.2.1-12.0-1 at The Tor Project / Applications / fenix
Commits:
-
fadbafad
by hackademix at 2022-10-06T11:27:32+02:00
1 changed file:
Changes:
| ... | ... | @@ -98,10 +98,14 @@ object TorBrowserFeatures { |
| 98 | 98 | fun install(context: Context, runtime: WebExtensionRuntime) {
|
| 99 | 99 | val settings = context.settings()
|
| 100 | 100 | /**
|
| 101 | - * Remove HTTPS Everywhere if we didn't yet, unless HTTPS-Only is disabled, which might
|
|
| 102 | - * mean user opted out from the built-in mechanism and still relies on the extension.
|
|
| 101 | + * Remove HTTPS Everywhere if we didn't yet.
|
|
| 103 | 102 | */
|
| 104 | - if (!settings.httpsEverywhereRemoved && settings.shouldUseHttpsOnly) {
|
|
| 103 | + if (!settings.httpsEverywhereRemoved) {
|
|
| 104 | + /**
|
|
| 105 | + * Ensure HTTPS-Only is enabled.
|
|
| 106 | + */
|
|
| 107 | + settings.shouldUseHttpsOnly = true
|
|
| 108 | + settings.shouldUseHttpsOnlyInAllTabs = true
|
|
| 105 | 109 | uninstallHTTPSEverywhere(
|
| 106 | 110 | runtime,
|
| 107 | 111 | onSuccess = {
|