Commit a246be8
committed
Fix handling of dirs named index.html in http.server
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.1 parent c3c7848 commit a246be8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
| 714 | + | |
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| |||
0 commit comments