Skip to content

Commit

Permalink
pythongh-100001: Remove new typo, add versionadded
Browse files Browse the repository at this point in the history
  • Loading branch information
gpshead committed Dec 5, 2022
1 parent 7e29398 commit b9b2166
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 @@ -516,6 +516,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 b9b2166

Please sign in to comment.