summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-28 05:16:57 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-28 05:16:57 +0200
commitf64efa79bd78ab59cb65588feacf93e0de475e48 (patch)
tree5d38efa3cc9da3dbcce08c975adc55a525570b86 /template/en
parent707573450030f45f33ac464d393749d32c55ae73 (diff)
downloadbugzilla-f64efa79bd78ab59cb65588feacf93e0de475e48.tar.gz
bugzilla-f64efa79bd78ab59cb65588feacf93e0de475e48.tar.xz
Bug 594990: Make the Strict-Transport-Security HTTP header only be sent
if a particular parameter is enabled. r=glob, a=mkanat
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/params/advanced.html.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/template/en/default/admin/params/advanced.html.tmpl b/template/en/default/admin/params/advanced.html.tmpl
index 4caa2f1dc..2414a46fb 100644
--- a/template/en/default/admin/params/advanced.html.tmpl
+++ b/template/en/default/admin/params/advanced.html.tmpl
@@ -24,6 +24,19 @@
desc = "Settings for advanced configurations."
%]
+[% sts_desc = BLOCK %]
+ Enables the sending of the
+ <a href="http://en.wikipedia.org/wiki/Strict_Transport_Security">Strict-Transport-Security</a>
+ header along with HTTP responses on SSL connections. This adds greater
+ security to your SSL connections by forcing the browser to always
+ access your domain over SSL and never accept an invalid certificate.
+ However, it should only be used if you have the <code>ssl_redirect</code>
+ parameter turned on, Bugzilla is the only thing running
+ on its domain (i.e., your <code>urlbase</code> is something like
+ <code>http://bugzilla.example.com/</code>), and you never plan to disable
+ the <code>ssl_redirect</code> parameter.
+[% END %]
+
[% param_descs = {
cookiedomain =>
"If your website is at 'www.foo.com', setting this to"
@@ -47,4 +60,6 @@
_ " necessary to enter its URL if the web server cannot access the"
_ " HTTP_PROXY environment variable. If you have to authenticate,"
_ " use the <code>http://user:pass@proxy_url/</code> syntax.",
+
+ strict_transport_security => sts_desc,
} %]