[Python-checkins] gh-100001: Remove doc typo, add versionadded (#100042)
gpshead
webhook-mailer at python.org
Mon Dec 5 18:15:18 EST 2022
https://github.com/python/cpython/commit/bed15f87eadc726122185cf41efcdda289f4a7b1
commit: bed15f87eadc726122185cf41efcdda289f4a7b1
branch: main
author: Gregory P. Smith <greg at krypto.org>
committer: gpshead <greg at krypto.org>
date: 2022-12-05T15:15:13-08:00
summary:
gh-100001: Remove doc typo, add versionadded (#100042)
gh-100001: Remove new doc typo, add versionadded.
files:
M Doc/library/http.server.rst
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 154f3f3c3904..3290b9beab3e 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -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.12
+ Control characters are scrubbed in stderr logs.
More information about the Python-checkins
mailing list