aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Chart.pm
diff options
context:
space:
mode:
authorDave Miller <justdave@bugzilla.org>2024-08-29 07:03:41 -0400
committerDave Miller <github@justdave.net>2024-09-03 11:41:55 -0400
commit430a93b7c4df3aadfa2262ef9b8bcc8e77f0eca8 (patch)
tree20ec85a34871ebe12df5aa703df5faaa9cb5495d /Bugzilla/Chart.pm
parent004ee037b0f49a549648a84b568188ec49bccac7 (diff)
downloadbugs-430a93b7c4df3aadfa2262ef9b8bcc8e77f0eca8.tar
bugs-430a93b7c4df3aadfa2262ef9b8bcc8e77f0eca8.tar.gz
bugs-430a93b7c4df3aadfa2262ef9b8bcc8e77f0eca8.tar.bz2
bugs-430a93b7c4df3aadfa2262ef9b8bcc8e77f0eca8.tar.xz
bugs-430a93b7c4df3aadfa2262ef9b8bcc8e77f0eca8.zip
Bug 1439260: XSS in chart.cgi and report.cgi
Diffstat (limited to 'Bugzilla/Chart.pm')
-rw-r--r--Bugzilla/Chart.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm
index 3c69006aa..faf7a4785 100644
--- a/Bugzilla/Chart.pm
+++ b/Bugzilla/Chart.pm
@@ -420,11 +420,9 @@ sub dump {
# Make sure we've read in our data
my $data = $self->data;
-
+
require Data::Dumper;
- say "<pre>Bugzilla::Chart object:";
- print html_quote(Data::Dumper::Dumper($self));
- print "</pre>";
+ return Data::Dumper::Dumper($self);
}
1;