Skip to content
Browse files

The configuration key hsts was missing with the subdomains entry.

This fixes bug 1360. Thanks j.vonpreussen for reporting!
  • Loading branch information...
1 parent 8a4a541 commit 9113399bebf61c984a1c9606e4fca6e071abdb77 @skinkie skinkie committed Aug 7, 2012
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())

0 comments on commit 9113399

Please sign in to comment.
Something went wrong with that request. Please try again.