]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 593138: When confirming a CSRF violation (the confirm-action page),
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 22 Oct 2010 23:58:04 +0000 (16:58 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 22 Oct 2010 23:58:04 +0000 (16:58 -0700)
include an HTML comment describing the exact violation that occurred, so
that screen-scrapers can know what violation they hit.
r=mkanat, a=mkanat

template/en/default/global/confirm-action.html.tmpl

index e57a83c281c209ec1c8c6c0f9d7b9184c37162df..9f9be31dbc4ad8cfa428c929247573ec85937732 100644 (file)
@@ -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