Skip to content

Commit

Permalink
pythongh-100001: Remove doc typo, add versionadded (pythonGH-100042)
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>
pythongh-100001: Remove new doc typo, add versionadded.
  • Loading branch information
gpshead authored and miss-islington committed Dec 5, 2022
1 parent aae7b43 commit 2862738
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.12
Control characters are scrubbed in stderr logs.

0 comments on commit 2862738

Please sign in to comment.