summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshowdependencygraph.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index fd0a75cb4..37b7c74cc 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -51,7 +51,8 @@ sub CreateImagemap {
$default = qq{<area alt="" shape="default" href="$1">\n};
}
if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*)(.*)?$/) {
- $map .= qq{<area alt="bug$6" name="bug$6" shape="rect" href="$5" coords="$1,$4,$3,$2">\n};
+ my $bugsummary = value_quote($6);
+ $map .= qq{<area alt="bug$bugsummary" name="bug$bugsummary" shape="rect" href="$5" coords="$1,$4,$3,$2">\n};
}
}
close MAP;