Skip to content

Commit b7ae1d2

Browse files
[3.10] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100044)
(cherry picked from commit bed15f8) Co-authored-by: Gregory P. Smith <[email protected]>
1 parent aae7b43 commit b7ae1d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/http.server.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ to be served.
503503
Earlier versions of Python did not scrub control characters from the
504504
log messages emitted to stderr from ``python -m http.server`` or the
505505
default :class:`BaseHTTPRequestHandler` ``.log_message``
506-
implementation. This could allow to remote clients connecting to your
506+
implementation. This could allow remote clients connecting to your
507507
server to send nefarious control codes to your terminal.
508508

509+
.. versionadded:: 3.10.9
510+
Control characters are scrubbed in stderr logs.

0 commit comments

Comments
 (0)