From 89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Sat, 21 Nov 1998 03:18:33 +0000 Subject: Backed out Andrew's patch -- turns out it was doing quoting sublty wrong. --- reports.cgi | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'reports.cgi') diff --git a/reports.cgi b/reports.cgi index 12ff00c7f..7456c054e 100755 --- a/reports.cgi +++ b/reports.cgi @@ -156,12 +156,11 @@ FIN sub most_doomed { my $when = localtime (time); - my $product = url_decode($::FORM{'product'}); print <

-Bug Report for $product +Bug Report for $::FORM{'product'}

$when

FIN @@ -180,7 +179,7 @@ from bugs, versions projector where bugs.assigned_to = assign.userid and bugs.reporter = report.userid -and bugs.product='$product' +and bugs.product='$::FORM{'product'}' and ( bugs.bug_status = 'NEW' or @@ -394,13 +393,13 @@ sub header FIN } -sub show_chart { - my $when = localtime (time); - my $product = url_decode($::FORM{'product'}); +sub show_chart + { + my $when = localtime (time); - if (! is_legal_product($product)) + if (! is_legal_product ($::FORM{'product'})) { - &die_politely ("Unknown product: $product"); + &die_politely ("Unknown product: $::FORM{'product'}"); } print < "Bug Charts for $product", + "title" => "Bug Charts for $::FORM{'product'}", "x_label" => "Dates", "y_label" => "Bug Count", "legend_labels" => \@labels, @@ -477,7 +476,6 @@ FIN sub die_politely { my $msg = shift; - my $product = url_decode($::FORM{'product'}); print < @@ -486,7 +484,7 @@ sub die_politely Sorry, but ...

-There is no graph available for $product

+There is no graph available for $::FORM{'product'}

$msg -- cgit v1.2.3-24-g4f1b