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

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

index fd6d7cb4ee1c4022a5435a8526b78cadf21d4b23..8bd22eac831af39ad7bf29eb32953b04d59eaa37 100644 (file)
@@ -503,6 +503,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.10.9
+   Control characters are scrubbed in stderr logs.