From: Dylan William Hardison Date: Tue, 1 Aug 2017 12:45:38 +0000 (-0400) Subject: Bug 1385524 - Bug titles not escaped before being passed to Graphviz X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020ace1e585c2625138054dbd6ba4514c5f2fbfc;p=thirdparty%2Fbugzilla.git Bug 1385524 - Bug titles not escaped before being passed to Graphviz --- 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"}); }