diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-08-01 14:45:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 14:45:38 +0200 |
commit | 020ace1e585c2625138054dbd6ba4514c5f2fbfc (patch) | |
tree | 9b5fe977b89794e3396d770680119c203617744f /showdependencygraph.cgi | |
parent | 5b006a33bb4895d279da098c551d62045fc8c75b (diff) | |
download | bugzilla-020ace1e585c2625138054dbd6ba4514c5f2fbfc.tar.gz bugzilla-020ace1e585c2625138054dbd6ba4514c5f2fbfc.tar.xz |
Bug 1385524 - Bug titles not escaped before being passed to Graphviz
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
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"}); } |