diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-24 20:29:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 20:29:21 (GMT) |
commit | ecbf136702267857b261a81b64f234965b9de913 (patch) | |
tree | 0b8abfe83eb45eb150c5463d8bbb1bdbf79b2058 /Misc | |
parent | 0dea92409e291cd61135d509204f60c46f6dfc0b (diff) | |
download | cpython-ecbf136702267857b261a81b64f234965b9de913.zip cpython-ecbf136702267857b261a81b64f234965b9de913.tar.gz cpython-ecbf136702267857b261a81b64f234965b9de913.tar.bz2 |
[3.10] gh-100474: Fix handling of dirs named index.html in http.server (GH-100504)
Co-authored-by: James Frost <git@frost.cx>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-12-23-21-02-43.gh-issue-100474.gppA4U.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-12-23-21-02-43.gh-issue-100474.gppA4U.rst b/Misc/NEWS.d/next/Library/2022-12-23-21-02-43.gh-issue-100474.gppA4U.rst new file mode 100644 index 0000000..31abfb8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-12-23-21-02-43.gh-issue-100474.gppA4U.rst @@ -0,0 +1,2 @@ +:mod:`http.server` now checks that an index page is actually a regular file before trying +to serve it. This avoids issues with directories named ``index.html``. |