diff options
author | Mark Walker <mark.damon.walker@tutanota.com> | 2024-04-28 10:33:49 +0800 |
---|---|---|
committer | rodarima <rodarima@gmail.com> | 2024-04-29 19:39:21 +0200 |
commit | 20a10f03d4b14d68a77db88feea95cfcdbef8d34 (patch) | |
tree | 8cc0d32153dfedc7805b743245e01ebf0078c4dd /src/prefs.h | |
parent | b18496029c93a601646245adeb19372d705e0aab (diff) |
Add force https mode
Implement an option to force all http urls to be upgraded to HTTPS,
similar to HTTPS-Only Mode in Firefox.
A http_force_https preference variable is provided as well as a menu
bar item to toggle this mode.
See: https://support.mozilla.org/en-US/kb/https-only-prefs
Diffstat (limited to 'src/prefs.h')
-rw-r--r-- | src/prefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h index 0073d52a..b234176f 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -97,6 +97,7 @@ typedef struct { bool_t parse_embedded_css; bool_t http_persistent_conns; bool_t http_strict_transport_security; + bool_t http_force_https; int32_t buffered_drawing; char *font_serif; char *font_sans_serif; |