summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorAdam Ehlers Nyholm Thomsen <adament@adament.net>2012-12-11 00:18:41 +0100
committerAdam Ehlers Nyholm Thomsen <adament@adament.net>2012-12-11 00:18:41 +0100
commit307c558801ba06c3a36f88e2ae9dbe208f6a0059 (patch)
tree793044d3791aec79a782ee5f4ef5aeed672b8771 /src/config.h
parent944fc426af70bb926749d0273c082e5feb7b5306 (diff)
downloaddwb-307c558801ba06c3a36f88e2ae9dbe208f6a0059.zip
First version of HSTS implementation.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index d24742ee..6bbeab05 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1147,6 +1147,8 @@ static WebSettings DWB_SETTINGS[] = {
SETTING_GLOBAL, BOOLEAN, { .b = false }, (S_Func)dwb_set_adblock, { 0 }, },
{ { "adblocker-filterlist", "Path to a filterlist", },
SETTING_GLOBAL, CHAR, { .p = NULL }, NULL, { 0 }, },
+ { { "hsts", "Whether HSTS support should be enabled",},
+ SETTING_GLOBAL, BOOLEAN, { .b = true }, (S_Func)dwb_set_hsts, { 0 }, },
#ifdef WITH_LIBSOUP_2_38
{ { "addressbar-dns-lookup", "Whether to perform a dns check for text typed into the address bar", },
SETTING_GLOBAL | SETTING_ONINIT, BOOLEAN, { .b = false }, (S_Func)dwb_set_dns_lookup, { 0 }, },