summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-03-06 22:11:17 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-03-06 22:11:17 +0100
commite8b8b99a2eedfd95475dba7533badd747e82aa15 (patch)
tree08894755461d7861d21f65c8e0e8d97b7ebb905b /template/en/default/reports
parent872ad2b238317ff1c81633b25cfb3460886d0029 (diff)
downloadbugzilla-e8b8b99a2eedfd95475dba7533badd747e82aa15.tar.gz
bugzilla-e8b8b99a2eedfd95475dba7533badd747e82aa15.tar.xz
Bug 545610: Correctly parse CGI parameters, especially when using mod_perl
r=gerv a=LpSolit
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/report-table.html.tmpl13
1 files changed, 7 insertions, 6 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index d32335ce8..15de4bc90 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -36,13 +36,14 @@
[% col_field_disp = field_descs.$col_field || col_field %]
[% row_field_disp = field_descs.$row_field || row_field %]
-
+
+[% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %][% END %]
[% IF tbl == "-total-" %]
- [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]
- [% "&amp;$tbl_vals" IF tbl_vals %][% END %]
-[% ELSE %]
- [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]&amp;
- [% tbl_field FILTER uri %]=[% tbl FILTER uri %][% END %]
+ [% IF tbl_vals %]
+ [% urlbase = urlbase _ "&amp;" _ tbl_vals %]
+ [% END %]
+[% ELSIF tbl_field %]
+ [% urlbase = BLOCK %][% urlbase %]&amp;[% tbl_field FILTER uri %]=[% tbl FILTER uri %][% END %]
[% END %]
<script type="text/javascript">