From aa47924dc2aaac617bfa19731bcbfe6745711eef Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Fri, 21 Jan 2022 08:52:25 -0700 Subject: Fix an issue in LegacyXmlResultFormatter with ]]> in stacktraces Bugzilla Report 65833 This occurs when the stacktrace message contains ]]>, which is the CDATA end code. There is no escape, so it must be replaced with `]]` + `]]>` + ``, which means that the CDATA section is split. Signed-off-by: Taylor Smock This closes #175 pull request at github.com/apache/ant --- WHATSNEW | 3 +++ 1 file changed, 3 insertions(+) (limited to 'WHATSNEW') diff --git a/WHATSNEW b/WHATSNEW index 9ea8607fc..dee8ed63c 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -18,6 +18,9 @@ Fixed bugs: PropertyHelper implementations - for example when using AntXtras. Bugzilla Report 65799 +* legacy-xml reporter of the junitlauncher task now escapes ]]> when writing CDATA. + Bugzilla Report 65833 + Other changes: -------------- -- cgit v1.2.1