Skip to content

Commit

Permalink
[3.10] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100044
Browse files Browse the repository at this point in the history
)

(cherry picked from commit bed15f8)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
  • Loading branch information
miss-islington and gpshead committed Dec 6, 2022
1 parent aae7b43 commit b7ae1d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Doc/library/http.server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit b7ae1d2

Please sign in to comment.