summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Chart.pm2
-rwxr-xr-xreport.cgi4
2 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm
index 5022723dd..86dcf9d03 100644
--- a/Bugzilla/Chart.pm
+++ b/Bugzilla/Chart.pm
@@ -438,7 +438,7 @@ sub dump {
require Data::Dumper;
say "<pre>Bugzilla::Chart object:";
- print Data::Dumper::Dumper($self);
+ print html_quote(Data::Dumper::Dumper($self));
print "</pre>";
}
diff --git a/report.cgi b/report.cgi
index 20e899a6b..209ef0faf 100755
--- a/report.cgi
+++ b/report.cgi
@@ -288,9 +288,9 @@ print $cgi->header(-type => $format->{'ctype'},
if ($cgi->param('debug')) {
require Data::Dumper;
say "<pre>data hash:";
- say Data::Dumper::Dumper(%data);
+ say html_quote(Data::Dumper::Dumper(%data));
say "\ndata array:";
- say Data::Dumper::Dumper(@image_data) . "\n\n</pre>";
+ say html_quote(Data::Dumper::Dumper(@image_data)) . "\n\n</pre>";
}
# All formats point to the same section of the documentation.