diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-19 19:20:09 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-19 19:20:09 +0200 |
commit | 401b0d1301cf419ff40d7cb82d2763b13accd26a (patch) | |
tree | 6f88f573c4cdae792ff04cc5c4510c0587540f7e /template/en/default/global | |
parent | 4095f06769a8fb3ce0878209508a6f129b099d91 (diff) | |
download | bugzilla-401b0d1301cf419ff40d7cb82d2763b13accd26a.tar.gz bugzilla-401b0d1301cf419ff40d7cb82d2763b13accd26a.tar.xz |
Bug 565899: Make the html_linebreak filter safe by having it first call the
"html" filter
r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/global/hidden-fields.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index f50f60737..e3bd3ba8b 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -540,7 +540,7 @@ </table> <p>Traceback:</p> -<pre>[% traceback FILTER html FILTER html_linebreak %]</pre> +<pre>[% traceback FILTER html_linebreak %]</pre> [% IF variables %] <pre> diff --git a/template/en/default/global/hidden-fields.html.tmpl b/template/en/default/global/hidden-fields.html.tmpl index 24f15c4f5..c141c6409 100644 --- a/template/en/default/global/hidden-fields.html.tmpl +++ b/template/en/default/global/hidden-fields.html.tmpl @@ -52,7 +52,7 @@ [% ELSE %] [% FOREACH mvalue = cgi.param(field).slice(0) %] <input type="hidden" name="[% field FILTER html %]" - value="[% mvalue FILTER html FILTER html_linebreak %]"> + value="[% mvalue FILTER html_linebreak %]"> [% END %] [% END %] [% END %] |