From 020ace1e585c2625138054dbd6ba4514c5f2fbfc Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 1 Aug 2017 08:45:38 -0400 Subject: Bug 1385524 - Bug titles not escaped before being passed to Graphviz --- showdependencygraph.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index cff4adfe8..95b64cf51 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -203,6 +203,7 @@ foreach my $k (keys(%seen)) { } $summary = wrap_comment($summary); $summary =~ s/([\\\"])/\\$1/g; + $summary =~ s/\n/\\n/g; push(@params, qq{label="$k\\n$summary"}); } -- cgit v1.2.3-24-g4f1b