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
b2ff0f761de4dc8e7bf0fea3c64bb25d9fcfcd36
Parent: a726f74
Committed by GitHub <noreply@github.com>
on 12/5/2022, 10:53:41 PM