From e58ccfd7946e2f0164bdabf0b9dd68f31bdae287 Mon Sep 17 00:00:00 2001 From: "olav%bkor.dhs.org" <> Date: Mon, 23 Oct 2006 05:32:01 +0000 Subject: Bug 355924: report.cgi generates bare '&' in img src URL Patch by Olav Vitters r=LpSolit a=justdave --- template/en/default/reports/report.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en/default/reports') diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl index 5e7d74dac..06acaf422 100644 --- a/template/en/default/reports/report.html.tmpl +++ b/template/en/default/reports/report.html.tmpl @@ -29,6 +29,7 @@ # format: string. Format of the individual reports. # width: integer. For image charts, height of the image. # height: integer. For image charts, width of the image. + # imagebase: string. Base URL for chart image. # switchbase: string. Base URL for format switching. # cumulate: boolean. For bar/line charts, whether to cumulate data sets. #%] @@ -97,7 +98,7 @@

[% tbl_disp FILTER html %]

[% END %] - [% imageurl = BLOCK %]report.cgi?[% imagebase %]&format= + [% imageurl = BLOCK %]report.cgi?[% imagebase FILTER html %]&format= [% format FILTER url_quote %]&ctype=png&action=plot& [% IF tbl_field %] [% IF tbl != "-total-" %] -- cgit v1.2.3-24-g4f1b