Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

python -m http.server log messages to stderr can emit raw data #100001

Closed
Assignees
gpshead
@gpshead

Description

@gpshead

Problem: Thehttp.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: Thehttp.server defaultlog_message() method needs to prevent printing of control characters.

Reported by David Leadbeater, G-Research on 2022-12-04

Linked PRs

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp