]> 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:56:07 +0000 (03:56 +0000)
committerjustdave%syndicomm.com <>
Fri, 25 Apr 2003 03:56:07 +0000 (03:56 +0000)
r= bbaetz, gerv
a= justdave

showdependencygraph.cgi

index 857075cb60f118c8e5c19ddef81b88feedee193d..40245060c7dd7ada4f6b5da997004e19543e621e 100755 (executable)
@@ -48,7 +48,8 @@ sub CreateImagemap {
             $default = qq{<area shape="default" href="$1">\n};
         }
         if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*)(.*)?$/) {
-            $map .= qq{<area 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;