Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The configuration key hsts was missing with the subdomains entry.

This fixes bug 1360. Thanks j.vonpreussen for reporting!
  • Loading branch information...
commit 9113399bebf61c984a1c9606e4fca6e071abdb77 1 parent 8a4a541
@skinkie skinkie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/PageVServer.py
View
2  admin/PageVServer.py
@@ -686,7 +686,7 @@ def __init__ (self, vsrv_num, refreshable):
if int(CTK.cfg.get_val('%s!hsts' %(pre), "0")):
table.Add (_('HSTS Max-Age'), CTK.TextCfg ('%s!hsts!max_age'%(pre), True, {'optional_string':_("One year")}), _(NOTE_HSTS_MAXAGE))
- table.Add (_('Include Subdomains'), CTK.CheckCfgText ('%s!subdomains'%(pre), True, _('Include all')), _(NOTE_HSTS_SUBDOMAINS))
+ table.Add (_('Include Subdomains'), CTK.CheckCfgText ('%s!hsts!subdomains'%(pre), True, _('Include all')), _(NOTE_HSTS_SUBDOMAINS))
submit = CTK.Submitter (url_apply)
submit.bind ('submit_success', refreshable.JS_to_refresh())
Please sign in to comment.
Something went wrong with that request. Please try again.