aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-22 16:56:55 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-22 16:56:55 -0700
commit3857fbed90c25c74b7fd095c469dcdb4d98c0cb9 (patch)
tree5de9e49898578a48f0d5edef230109422774ca0e /template/en/default/global
parent4b2ebcb3563b85180485c94eaf9a0ed9d8110f6f (diff)
downloadbugs-3857fbed90c25c74b7fd095c469dcdb4d98c0cb9.tar
bugs-3857fbed90c25c74b7fd095c469dcdb4d98c0cb9.tar.gz
bugs-3857fbed90c25c74b7fd095c469dcdb4d98c0cb9.tar.bz2
bugs-3857fbed90c25c74b7fd095c469dcdb4d98c0cb9.tar.xz
bugs-3857fbed90c25c74b7fd095c469dcdb4d98c0cb9.zip
Bug 593138: When confirming a CSRF violation (the confirm-action page),
include an HTML comment describing the exact violation that occurred, so that screen-scrapers can know what violation they hit. r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/confirm-action.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/global/confirm-action.html.tmpl b/template/en/default/global/confirm-action.html.tmpl
index e57a83c28..9f9be31db 100644
--- a/template/en/default/global/confirm-action.html.tmpl
+++ b/template/en/default/global/confirm-action.html.tmpl
@@ -27,6 +27,7 @@
style_urls = ['skins/standard/global.css'] %]
<div class="throw_error">
+<!--reason=[%reason FILTER html %]-->
[% IF reason == "expired_token" %]
Your changes have been rejected because you exceeded the time limit
of [% constants.MAX_TOKEN_AGE FILTER html %] days before submitting your