mirror of
https://github.com/python/cpython.git
synced 2026-03-10 06:50:52 +00:00
[3.10] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100044)
(cherry picked from commit bed15f87ea)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
This commit is contained in:
parent
aae7b43ca3
commit
b7ae1d2285
1 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue