diff options
author | Victor Stinner <vstinner@python.org> | 2024-07-01 08:30:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 08:30:33 (GMT) |
commit | af8c3d7a26d605099f5b3406a8d33ecddb77e8fb (patch) | |
tree | ec814ccede37647ad55f4518d8a6ee26ee3d9abe /Misc/NEWS.d/next/Tests/2024-07-01-09-04-32.gh-issue-121188.XbuTVa.rst | |
parent | f80376b129ad947263a6b03a6c3a874e9f8706e6 (diff) | |
download | cpython-af8c3d7a26d605099f5b3406a8d33ecddb77e8fb.zip cpython-af8c3d7a26d605099f5b3406a8d33ecddb77e8fb.tar.gz cpython-af8c3d7a26d605099f5b3406a8d33ecddb77e8fb.tar.bz2 |
gh-121188: Sanitize invalid XML characters in regrtest (#121195)
When creating the JUnit XML file, regrtest now escapes characters
which are invalid in XML, such as the chr(27) control character used
in ANSI escape sequences.
Diffstat (limited to 'Misc/NEWS.d/next/Tests/2024-07-01-09-04-32.gh-issue-121188.XbuTVa.rst')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2024-07-01-09-04-32.gh-issue-121188.XbuTVa.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2024-07-01-09-04-32.gh-issue-121188.XbuTVa.rst b/Misc/NEWS.d/next/Tests/2024-07-01-09-04-32.gh-issue-121188.XbuTVa.rst new file mode 100644 index 0000000..c92002d --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2024-07-01-09-04-32.gh-issue-121188.XbuTVa.rst @@ -0,0 +1,3 @@ +When creating the JUnit XML file, regrtest now escapes characters which are +invalid in XML, such as the chr(27) control character used in ANSI escape +sequences. Patch by Victor Stinner. |