From 29021b187f042f023584dd3986c086ca68bef0a2 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Fri, 25 Apr 2003 03:49:27 +0000 Subject: Bug 192677: Add new test to flag failure-to-filter situations in the templates, and correct the XSS holes that were discovered as a result of it. Patch by Gervase Markham r= myk, bbaetz, justdave a= justdave --- template/en/default/list/change-columns.html.tmpl | 4 ++-- template/en/default/list/list.html.tmpl | 13 ++++++++----- template/en/default/list/table.html.tmpl | 5 +++-- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'template/en/default/list') diff --git a/template/en/default/list/change-columns.html.tmpl b/template/en/default/list/change-columns.html.tmpl index 097a886bb..7730bf78c 100644 --- a/template/en/default/list/change-columns.html.tmpl +++ b/template/en/default/list/change-columns.html.tmpl @@ -36,7 +36,7 @@ [% field_descs.qa_contact_realname = "QA Contact Realname" %]
- + [% FOREACH column = masterlist %] @@ -65,7 +65,7 @@
- +
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 9b9f099d3..91a5584cf 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -95,7 +95,7 @@

Query Page   Enter New Bug - Edit this query + Edit this query

[% ELSIF bugs.size == 1 %] @@ -133,11 +133,13 @@    - CSV    - Change Columns    + CSV    + Change Columns    [% IF bugs.size > 1 && caneditbugs && !dotweak %] - Change Several Bugs at Once    @@ -147,7 +149,8 @@ Send Mail to Bug Owners    [% END %] - Edit this Query    + Edit this Query    diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 8a5d3ac57..53eb52b2d 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -82,7 +82,8 @@ - ID + ID [% IF splitheader %] @@ -115,7 +116,7 @@ [% BLOCK columnheader %] - [%- abbrev.$id.title || field_descs.$id || column.title -%] -- cgit v1.2.3-24-g4f1b