]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-143925: Reject control characters in data: URL mediatypes (#144113)
authorSeth Michael Larson <seth@python.org>
Sun, 25 Jan 2026 17:05:57 +0000 (11:05 -0600)
committerGitHub <noreply@github.com>
Sun, 25 Jan 2026 17:05:57 +0000 (17:05 +0000)
commit4ed11d3cd288e6b90196a15c5a825a45d318fe47
tree95b6154cb8b6f85803eb9f152ecd0a343526b3d5
parent4802b96a2cde58570c24c13ef3289490980961c5
[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 f25509e78e8be6ea73c811ac2b8c928c28841b9f)
(cherry picked from commit 2c9c746077d8119b5bcf5142316992e464594946)

Co-authored-by: Seth Michael Larson <seth@python.org>
* Remove "ExtraAssertations"
Lib/test/test_urllib.py
Lib/urllib/request.py
Misc/NEWS.d/next/Security/2026-01-16-11-51-19.gh-issue-143925.mrtcHW.rst [new file with mode: 0644]