summaryrefslogtreecommitdiffstats
path: root/Python/ast_unparse.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2022-12-05 22:27:55 (GMT)
committerGitHub <noreply@github.com>2022-12-05 22:27:55 (GMT)
commit7e29398407dbd53b714702abb89aa2fd7baca48a (patch)
tree58e6a710bc11ed6acce0fa8b777110818cf9be42 /Python/ast_unparse.c
parente9e63ad8653296c199446d6f7cdad889e492a34e (diff)
downloadcpython-7e29398407dbd53b714702abb89aa2fd7baca48a.zip
cpython-7e29398407dbd53b714702abb89aa2fd7baca48a.tar.gz
cpython-7e29398407dbd53b714702abb89aa2fd7baca48a.tar.bz2
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.
Diffstat (limited to 'Python/ast_unparse.c')
0 files changed, 0 insertions, 0 deletions