summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-11-10 08:19:37 +0100
committerterry%netscape.com <>1998-11-10 08:19:37 +0100
commit1cf02cc7c177a691ae9980f928ae30efb84a8c99 (patch)
tree235232c5fcc2e5d1fb13ad91e8b44da262c2a3f3 /reports.cgi
parentd123c1dccda06bd3a89fbc0633921ba183384734 (diff)
downloadbugzilla-1cf02cc7c177a691ae9980f928ae30efb84a8c99.tar.gz
bugzilla-1cf02cc7c177a691ae9980f928ae30efb84a8c99.tar.xz
Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- cope with product
names that have a "/" in them.
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi
index 612a2576f..7456c054e 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -409,7 +409,11 @@ FIN
my @dates;
my @open; my @assigned; my @reopened;
- my $file = join '/', $dir, $::FORM{'product'};
+ my $prodname = $::FORM{'product'};
+
+ $prodname =~ s/\//-/gs;
+
+ my $file = join '/', $dir, $prodname;
my $image = "$file.gif";
if (! open FILE, $file)