cpython/Lib/http
Miss Islington (bot) 4536b2ec18
[3.11] gh-104049: do not expose on-disk location from SimpleHTTPRequestHandler (GH-104067) (#104123)
gh-104049: do not expose on-disk location from SimpleHTTPRequestHandler (GH-104067)

Do not expose the local server's on-disk location from `SimpleHTTPRequestHandler` when generating a directory index. (unnecessary information disclosure)

---------

(cherry picked from commit c7c3a60c88)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-05-03 04:27:04 +00:00
..
__init__.py gh-91996: Add an HTTPMethod StrEnum to http (GH-91997) 2022-05-05 15:39:02 -07:00
client.py [3.11] GH-103472: close response in HTTPConnection._tunnel (GH-103473) (#104077) 2023-05-01 23:48:07 -07:00
cookiejar.py [3.11] gh-99576: Fix cookiejar file that was not truncated for some classes (GH-99616) (GH-100377) 2022-12-20 18:22:39 +01:00
cookies.py bpo-39481: PEP 585 for a variety of modules (GH-19423) 2020-04-10 07:46:36 -07:00
server.py [3.11] gh-104049: do not expose on-disk location from SimpleHTTPRequestHandler (GH-104067) (#104123) 2023-05-03 04:27:04 +00:00