SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72153 0 0 Python

gh-100001: Also escape \s in http.server log messages. (#100038)

Also \ escape \s in the http.server BaseHTTPRequestHandler.log_message so
that it is technically possible to parse the line and reconstruct what the
original data was.  Without this a \xHH is ambiguious as to if it is a hex
replacement we put in or the characters r"\x" came through in the original
request line.
G
Gregory P. Smith committed
7e29398407dbd53b714702abb89aa2fd7baca48a
Parent: e9e63ad
Committed by GitHub <noreply@github.com> on 12/5/2022, 10:27:55 PM