aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorolav%bkor.dhs.org <>2006-10-23 05:32:01 +0000
committerolav%bkor.dhs.org <>2006-10-23 05:32:01 +0000
commite58ccfd7946e2f0164bdabf0b9dd68f31bdae287 (patch)
tree86455967ed438445fd289efd2e9c36a20a79c588 /template/en/default
parent25b338954de59e13596dd2512802456024571866 (diff)
downloadbugs-e58ccfd7946e2f0164bdabf0b9dd68f31bdae287.tar
bugs-e58ccfd7946e2f0164bdabf0b9dd68f31bdae287.tar.gz
bugs-e58ccfd7946e2f0164bdabf0b9dd68f31bdae287.tar.bz2
bugs-e58ccfd7946e2f0164bdabf0b9dd68f31bdae287.tar.xz
bugs-e58ccfd7946e2f0164bdabf0b9dd68f31bdae287.zip
Bug 355924: report.cgi generates bare '&' in img src URL
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/filterexceptions.pl1
-rw-r--r--template/en/default/reports/report.html.tmpl3
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index dbfb5249a..58988b68e 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -137,7 +137,6 @@
],
'reports/report.html.tmpl' => [
- 'imagebase',
'width',
'height',
'imageurl',
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 @@
<h2>[% tbl_disp FILTER html %]</h2>
[% END %]
- [% imageurl = BLOCK %]report.cgi?[% imagebase %]&amp;format=
+ [% imageurl = BLOCK %]report.cgi?[% imagebase FILTER html %]&amp;format=
[% format FILTER url_quote %]&amp;ctype=png&amp;action=plot&amp;
[% IF tbl_field %]
[% IF tbl != "-total-" %]