gh-100001: Also escape \s in http.server log messages. (GH-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. (cherry picked from commit 7e29398407dbd53b714702abb89aa2fd7baca48a) Co-authored-by: Gregory P. Smith <greg@krypto.org>
M
Miss Islington (bot) committed
aae7b43ca3d2bb2028370b8252ccb51006827429
Parent: ec8c06b
Committed by GitHub <noreply@github.com>
on 12/5/2022, 10:47:57 PM