diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-06 02:20:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-06 11:20:22 +0100 |
| commit | e43393aaacc9350116a5402e1ae5dde45daa6dfe (patch) | |
| tree | 0b2e26f742734d319da56e4ff0ff75d869c504ca /Misc/NEWS.d/next/Security/2022-10-21-13-31-47.gh-issue-98517.SXXGfV.rst | |
| parent | b50b6f95a1afacf76cc6ec3da4229cdeb33a7cf6 (diff) | |
| download | cpython-git-e43393aaacc9350116a5402e1ae5dde45daa6dfe.tar.gz | |
[3.8] gh-100001: Omit control characters in http.server stderr logs. (GH-100002) (#100033)
* gh-100001: Omit control characters in http.server stderr logs. (GH-100002)
Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
(cherry picked from commit d8ab0a4dfa48f881b4ac9ab857d2e9de42f72828)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
* also escape \s (backport of PR #100038).
* add versionadded and remove extraneous 'to'
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Misc/NEWS.d/next/Security/2022-10-21-13-31-47.gh-issue-98517.SXXGfV.rst')
0 files changed, 0 insertions, 0 deletions
