Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Dec 24, 2022

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 commit 46e6a28)

Co-authored-by: James Frost git@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 commit 46e6a28) Co-authored-by: James Frost <git@frost.cx> Automerge-Triggered-By: GH:merwok
@merwokmerwok merged commit 714a93f into python:3.11Dec 24, 2022
@miss-islingtonmiss-islington deleted the backport-46e6a28-3.11 branch December 24, 2022 20:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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