зеркало из https://github.com/mozilla/pjs.git
Bug 355924: report.cgi generates bare '&' in img src URL
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=justdave
This commit is contained in:
Родитель
0e6491af71
Коммит
6d94e36519
|
@ -137,7 +137,6 @@
|
|||
],
|
||||
|
||||
'reports/report.html.tmpl' => [
|
||||
'imagebase',
|
||||
'width',
|
||||
'height',
|
||||
'imageurl',
|
||||
|
|
|
@ -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 %]&format=
|
||||
[% imageurl = BLOCK %]report.cgi?[% imagebase FILTER html %]&format=
|
||||
[% format FILTER url_quote %]&ctype=png&action=plot&
|
||||
[% IF tbl_field %]
|
||||
[% IF tbl != "-total-" %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче