diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-03-06 22:08:55 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-03-06 22:08:55 +0100 |
commit | 4357cedbbe2f046c3354b575df4e7b63f45252e6 (patch) | |
tree | db19a51918c714a4ba5e18fa75f500af59b9c99b /template/en/default/reports | |
parent | ebe30fe4ed3caedadccd9ffee7dbd63d3d164572 (diff) | |
download | bugs-4357cedbbe2f046c3354b575df4e7b63f45252e6.tar bugs-4357cedbbe2f046c3354b575df4e7b63f45252e6.tar.gz bugs-4357cedbbe2f046c3354b575df4e7b63f45252e6.tar.bz2 bugs-4357cedbbe2f046c3354b575df4e7b63f45252e6.tar.xz bugs-4357cedbbe2f046c3354b575df4e7b63f45252e6.zip |
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.tmpl | 13 |
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 8c4901a88..1ab48c34e 100644 --- a/template/en/default/reports/report-table.html.tmpl +++ b/template/en/default/reports/report-table.html.tmpl @@ -19,13 +19,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 %] - [% "&$tbl_vals" IF tbl_vals %][% END %] -[% ELSE %] - [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]& - [% tbl_field FILTER uri %]=[% tbl FILTER uri %][% END %] + [% IF tbl_vals %] + [% urlbase = urlbase _ "&" _ tbl_vals %] + [% END %] +[% ELSIF tbl_field %] + [% urlbase = BLOCK %][% urlbase %]&[% tbl_field FILTER uri %]=[% tbl FILTER uri %][% END %] [% END %] <script type="text/javascript"> |