summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-27 20:14:49 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-27 20:14:49 +0200
commitb412d2636fd4997389a5ecad459c2e31adf670fc (patch)
treeaf564539200c8d135f6f4170848a2819f32c85c8 /template
parent26066436dcb00548c6f5b09cc6cfc68f96a9f045 (diff)
downloadbugzilla-b412d2636fd4997389a5ecad459c2e31adf670fc.tar.gz
bugzilla-b412d2636fd4997389a5ecad459c2e31adf670fc.tar.xz
Bug 785917: Custom field descriptions are not properly escaped when displayed as bug list column headers
r=glob a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/filterexceptions.pl1
-rw-r--r--template/en/default/list/table.html.tmpl2
2 files changed, 1 insertions, 2 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 8680573fb..496c60bb6 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -154,7 +154,6 @@
'list/table.html.tmpl' => [
'tableheader',
'bug.bug_id',
- 'abbrev.$id.title || field_descs.$id || column.title',
],
'list/list.csv.tmpl' => [
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 2b266d4ce..a074fcbd0 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -133,7 +133,7 @@
[% PROCESS new_order %]
[%-#%]&amp;query_based_on=
[% defaultsavename OR searchname FILTER uri %]">
- [%- abbrev.$id.title || field_descs.$id || column.title -%]
+ [%- abbrev.$id.title || field_descs.$id || column.title FILTER html -%]
[% PROCESS order_arrow ~%]
</a>
</th>