]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100043)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 6 Dec 2022 10:34:20 +0000 (02:34 -0800)
committerGitHub <noreply@github.com>
Tue, 6 Dec 2022 10:34:20 +0000 (11:34 +0100)
(cherry picked from commit bed15f87eadc726122185cf41efcdda289f4a7b1)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/http.server.rst

index 154f3f3c39049f448efa61b6bc6f3d8587775741..6a564400708186b6f0c62b5f612b738ac85c36ff 100644 (file)
@@ -516,6 +516,8 @@ to be served.
 Earlier versions of Python did not scrub control characters from the
 log messages emitted to stderr from ``python -m http.server`` or the
 default :class:`BaseHTTPRequestHandler` ``.log_message``
-implementation. This could allow to remote clients connecting to your
+implementation. This could allow remote clients connecting to your
 server to send nefarious control codes to your terminal.
 
+.. versionadded:: 3.11.1
+   Control characters are scrubbed in stderr logs.