Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 320 Bytes

2022-12-05-01-39-10.gh-issue-100001.uD05Fc.rst

File metadata and controls

6 lines (5 loc) · 320 Bytes

python -m http.server no longer allows terminal control characters sent within a garbage request to be printed to the stderr server log.

This is done by changing the http.server BaseHTTPRequestHandler .log_message method to replace control characters with a \xHH hex escape before printing.