Skip to content
This repository
Browse code

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
Stefan de Konink authored August 07, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  admin/PageVServer.py
2  admin/PageVServer.py
@@ -686,7 +686,7 @@ def __init__ (self, vsrv_num, refreshable):
686 686
 
687 687
         if int(CTK.cfg.get_val('%s!hsts' %(pre), "0")):
688 688
             table.Add (_('HSTS Max-Age'),       CTK.TextCfg ('%s!hsts!max_age'%(pre), True, {'optional_string':_("One year")}), _(NOTE_HSTS_MAXAGE))
689  
-            table.Add (_('Include Subdomains'), CTK.CheckCfgText ('%s!subdomains'%(pre), True, _('Include all')), _(NOTE_HSTS_SUBDOMAINS))
  689
+            table.Add (_('Include Subdomains'), CTK.CheckCfgText ('%s!hsts!subdomains'%(pre), True, _('Include all')), _(NOTE_HSTS_SUBDOMAINS))
690 690
 
691 691
         submit = CTK.Submitter (url_apply)
692 692
         submit.bind ('submit_success', refreshable.JS_to_refresh())

0 notes on commit 9113399

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