diff options
author | Reed Loden <reed@reedloden.com> | 2010-09-29 11:51:47 -0700 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2010-09-29 11:51:47 -0700 |
commit | 0aeaae0427e053b67bd65bf0131de9d562744514 (patch) | |
tree | ebafee96914c73cf83139e011a5387c3396f18c6 /Bugzilla/Config | |
parent | f63ac679439c2460d3087eedc319a353bf4ea082 (diff) | |
download | bugs-0aeaae0427e053b67bd65bf0131de9d562744514.tar bugs-0aeaae0427e053b67bd65bf0131de9d562744514.tar.gz bugs-0aeaae0427e053b67bd65bf0131de9d562744514.tar.bz2 bugs-0aeaae0427e053b67bd65bf0131de9d562744514.tar.xz bugs-0aeaae0427e053b67bd65bf0131de9d562744514.zip |
Bug 600475 - Support the 'includeSubDomains' flag as an option for the 'Strict-Transport-Security' advanced option in order to protect subdomains.
[r=glob a=mkanat]
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Advanced.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Config/Advanced.pm b/Bugzilla/Config/Advanced.pm index e15a42963..fada813f1 100644 --- a/Bugzilla/Config/Advanced.pm +++ b/Bugzilla/Config/Advanced.pm @@ -55,8 +55,10 @@ use constant get_param_list => ( { name => 'strict_transport_security', - type => 'b', - default => 0, + type => 's', + choices => ['off', 'this_domain_only', 'include_subdomains'], + default => 'off', + checker => \&check_multi }, ); |