mirror of https://github.com/python/cpython.git
[3.11] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100043)
(cherry picked from commit bed15f87ea
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
This commit is contained in:
parent
05031ee1f5
commit
235f5fd2ca
|
@ -516,6 +516,8 @@ to be served.
|
||||||
Earlier versions of Python did not scrub control characters from the
|
Earlier versions of Python did not scrub control characters from the
|
||||||
log messages emitted to stderr from ``python -m http.server`` or the
|
log messages emitted to stderr from ``python -m http.server`` or the
|
||||||
default :class:`BaseHTTPRequestHandler` ``.log_message``
|
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.
|
server to send nefarious control codes to your terminal.
|
||||||
|
|
||||||
|
.. versionadded:: 3.11.1
|
||||||
|
Control characters are scrubbed in stderr logs.
|
||||||
|
|
Loading…
Reference in New Issue