diff options
author | Matt Selsky <selsky@columbia.edu> | 2014-12-11 19:00:18 +0100 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2014-12-11 19:00:18 +0100 |
commit | 4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c (patch) | |
tree | 28bc9ec2a5f74208167baed68cbaebe26b451c8c /template/en/default/attachment/list.html.tmpl | |
parent | 7b8a5d16b6c84b0f2b8b8074e9f63888ca6df249 (diff) | |
download | bugzilla-4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c.tar.gz bugzilla-4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c.tar.xz |
Bug 1102842 - remove and/or unwhitelist unsafe filters. r=gerv, a=simon.
Diffstat (limited to 'template/en/default/attachment/list.html.tmpl')
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 4599f38ed..2e160eda7 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -70,7 +70,15 @@ function toggle_display(link) { <a href="attachment.cgi?id=[% attachment.id %]" title="View the content of the attachment"> [% END %] - <b>[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</b> + <b> + [% IF attachment.isobsolete %] + <span class="bz_obsolete"> + [% END %] + [% attachment.description FILTER html %] + [% IF attachment.isobsolete %] + </span> + [% END %] + </b> [% "</a>" IF attachment.datasize %] <span class="bz_attach_extra_info"> |