From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:34:20 +0000 (-0800) Subject: [3.11] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100043) X-Git-Tag: v3.11.1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=235f5fd2ca4c6acb4b04efeaaa1ecb46d41d5a6d;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100043) (cherry picked from commit bed15f87eadc726122185cf41efcdda289f4a7b1) Co-authored-by: Gregory P. Smith --- diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 154f3f3c3904..6a5644007081 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.11.1 + Control characters are scrubbed in stderr logs.