]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 192661: Dependency graphs were printing bug summaries without HTML filtering.
authorjustdave%syndicomm.com <>
Fri, 25 Apr 2003 03:55:02 +0000 (03:55 +0000)
committerjustdave%syndicomm.com <>
Fri, 25 Apr 2003 03:55:02 +0000 (03:55 +0000)
r= bbaetz, gerv
a= justdave

showdependencygraph.cgi

index fd0a75cb4120da89a68792514f3cc9baac79584c..37b7c74cc4d44b352ac80fdb63f61bb9e3b147fc 100755 (executable)
@@ -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;