cpython/Lib/http
Miss Islington (bot) b4c1ca29cc
[3.11] gh-103204: `http.server` - Enforce that HTTP version numbers must consist only of digits (GH-103205) (#104438)
gh-103204: `http.server` - Enforce that HTTP version numbers must consist only of digits (GH-103205)

Reject HTTP requests with invalid http/x.y version numbers: x or y being non-digits or too-long.

---------

(cherry picked from commit cf720acfcb)

Co-authored-by: Ben Kallus <49924171+kenballus@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-05-12 20:54:12 +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-103204: `http.server` - Enforce that HTTP version numbers must consist only of digits (GH-103205) (#104438) 2023-05-12 20:54:12 +00:00