You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python -m http.server log messages to stderr can emit raw data #100001
Problem: The http.server module lets some control characters from the request thru which when emitted as is in a log message to a terminal can be used to control it or otherwise generate misleading output. python -m http.server is typically run within such a terminal.
Fix: The http.server default log_message() method needs to prevent printing of control characters.
Reported by David Leadbeater, G-Research on 2022-12-04
Activity
pythongh-100001: Omit control characters in http.server stderr logs.
gh-100001: Omit control characters in http.server stderr logs. (#100002)
pythongh-100001: Omit control characters in http.server stderr logs. (p…
pythongh-100001: Omit control characters in http.server stderr logs. (p…
pythongh-100001: Omit control characters in http.server stderr logs. (p…
pythongh-100001: Omit control characters in http.server stderr logs. (p…
gh-100001: Omit control characters in http.server stderr logs. (GH-10…
gh-100001: Omit control characters in http.server stderr logs. (GH-10…
pythongh-100001: Also escape \s in http.server log messages.
15 remaining items
[3.8] gh-100001: Omit control characters in http.server stderr logs. (G…
[3.9] gh-100001: Omit control characters in http.server stderr logs. (G…
[3.11] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100043
[3.10] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100044
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output
hubble: escape terminal special characters from observe output