summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-04-25 05:55:02 +0200
committerjustdave%syndicomm.com <>2003-04-25 05:55:02 +0200
commite9841817aa2bb7aef16e6499a9db2d5254a31c5f (patch)
tree1fa9328ccc06000e3ab199cf90df1976659208ed
parent29021b187f042f023584dd3986c086ca68bef0a2 (diff)
downloadbugzilla-e9841817aa2bb7aef16e6499a9db2d5254a31c5f.tar.gz
bugzilla-e9841817aa2bb7aef16e6499a9db2d5254a31c5f.tar.xz
Bug 192661: Dependency graphs were printing bug summaries without HTML filtering.
r= bbaetz, gerv a= justdave
-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;