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

[3.11] gh-100474: Fix handling of dirs named index.html in http.server (GH-100475)#100505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
merwok merged 1 commit intopython:3.11frommiss-islington:backport-46e6a28-3.11
Dec 24, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedDec 24, 2022
edited by merwok
Loading

If you had a directory called index.html or index.htm within a directory, it would cause http.server
to return a 404 Not Found error instead of the directory listing. This came about due to not checking
that the index was a regular file.

(cherry picked from commit46e6a28)

Co-authored-by: James Frostgit@frost.cx

…pythonGH-100475)If you had a directory called index.html or index.htm within a directory, it would cause http.server to return a 404 Not Found error instead of the directory listing. This came about due to not checking that the index was a regular file.I have also added a test case for this situation.(cherry picked from commit46e6a28)Co-authored-by: James Frost <git@frost.cx>Automerge-Triggered-By: GH:merwok
@merwokmerwok merged commit714a93f intopython:3.11Dec 24, 2022
@miss-islingtonmiss-islington deleted the backport-46e6a28-3.11 branchDecember 24, 2022 20:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@merwokmerwokmerwok approved these changes

Assignees
No one assigned
Labels
type-bugAn unexpected behavior, bug, or error
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@miss-islington@merwok@bedevere-bot@Fraetor

[8]ページ先頭

©2009-2025 Movatter.jp