We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e29398 commit bed15f8Copy full SHA for bed15f8
Doc/library/http.server.rst
@@ -516,6 +516,8 @@ to be served.
516
Earlier versions of Python did not scrub control characters from the
517
log messages emitted to stderr from ``python -m http.server`` or the
518
default :class:`BaseHTTPRequestHandler` ``.log_message``
519
-implementation. This could allow to remote clients connecting to your
+implementation. This could allow remote clients connecting to your
520
server to send nefarious control codes to your terminal.
521
522
+.. versionadded:: 3.12
523
+ Control characters are scrubbed in stderr logs.
0 commit comments