summaryrefslogtreecommitdiffstats
path: root/Python/frame.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-12-05 22:53:41 (GMT)
committerGitHub <noreply@github.com>2022-12-05 22:53:41 (GMT)
commitb2ff0f761de4dc8e7bf0fea3c64bb25d9fcfcd36 (patch)
treec00e5e998c53523d84faa14df2ab1da9adb60356 /Python/frame.c
parenta726f747e659efed674db1ebf57218c20d8c0c39 (diff)
downloadcpython-b2ff0f761de4dc8e7bf0fea3c64bb25d9fcfcd36.zip
cpython-b2ff0f761de4dc8e7bf0fea3c64bb25d9fcfcd36.tar.gz
cpython-b2ff0f761de4dc8e7bf0fea3c64bb25d9fcfcd36.tar.bz2
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>
Diffstat (limited to 'Python/frame.c')
0 files changed, 0 insertions, 0 deletions