diff options
author | gerv%gerv.net <> | 2003-09-07 04:23:09 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2003-09-07 04:23:09 +0200 |
commit | 026539311662235ea26f5f3cfe885322846db6fb (patch) | |
tree | 97ded73af263f79157ec928cc0fc56c82e8b9334 /template/en/default/reports/report-table.csv.tmpl | |
parent | 94266c521b3e388b41f3dd6f74948a9ec71997d5 (diff) | |
download | bugzilla-026539311662235ea26f5f3cfe885322846db6fb.tar.gz bugzilla-026539311662235ea26f5f3cfe885322846db6fb.tar.xz |
Bug 207044 - Filter more template directives. None of these are security bugs, but they need fixing anyway. Patch by gerv; r,a=justdave.
Diffstat (limited to 'template/en/default/reports/report-table.csv.tmpl')
-rw-r--r-- | template/en/default/reports/report-table.csv.tmpl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/template/en/default/reports/report-table.csv.tmpl b/template/en/default/reports/report-table.csv.tmpl index 989790e47..216419fea 100644 --- a/template/en/default/reports/report-table.csv.tmpl +++ b/template/en/default/reports/report-table.csv.tmpl @@ -29,13 +29,18 @@ [% row_field_disp = field_descs.$row_field || row_field %] [% title = BLOCK %] - [% "$tbl_field_disp: $tbl\n" IF tbl_field %] - [% row_field_disp IF row_field %] + [% IF tbl_field %] + [% tbl_field_disp FILTER csv %]: [% tbl FILTER csv %] + + [% END %] + [% IF row_field %] + [% row_field_disp FILTER csv %] + [% END %] [% " / " IF col_field AND row_field %] - [% col_field_disp %] + [% col_field_disp FILTER csv %] [% END %] -[% title FILTER csv %], +[% title %], [% IF col_field -%] [% FOREACH col = col_names -%] [% col FILTER csv -%], |