cpython/Lib/urllib
Seth Michael Larson 4ed11d3cd2
[3.12] gh-143925: Reject control characters in data: URL mediatypes (#144113)
* [3.12] gh-143925: Reject control characters in data: URL mediatypes
(cherry picked from commit f25509e78e)
(cherry picked from commit 2c9c746077)

Co-authored-by: Seth Michael Larson <seth@python.org>

* Remove "ExtraAssertations"
2026-01-25 17:05:57 +00:00
..
__init__.py
error.py gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100) 2023-02-22 00:14:41 +09:00
parse.py [3.12] gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (GH-129418) (GH-129527) 2025-02-02 08:30:28 +00:00
request.py [3.12] gh-143925: Reject control characters in data: URL mediatypes (#144113) 2026-01-25 17:05:57 +00:00
response.py bpo-12707: deprecate info(), geturl(), getcode() methods in favor of headers, url, and status properties for HTTPResponse and addinfourl (GH-11447) 2019-09-13 12:40:07 +01:00
robotparser.py [3.12] Explicitly import urllib.error in urllib.robotparser (GH-128737) (#128794) 2025-01-13 16:32:38 +00:00