diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-20 21:29:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 21:29:21 (GMT) |
commit | 0db4c5990c7b994e0272b7812e2692d110ab2aec (patch) | |
tree | 2762cee102be1771c1ae68a22fc84ebe1b10f002 /Misc | |
parent | ba6492e2a705ebbe140fdf8734114156e55b3c9a (diff) | |
download | cpython-0db4c5990c7b994e0272b7812e2692d110ab2aec.zip cpython-0db4c5990c7b994e0272b7812e2692d110ab2aec.tar.gz cpython-0db4c5990c7b994e0272b7812e2692d110ab2aec.tar.bz2 |
gh-96035: Make urllib.parse.urlparse reject non-numeric ports (GH-98273)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 6f15ca8c7afa23e1adc87f2b66b958b721f9acab)
Co-authored-by: Ben Kallus <49924171+kenballus@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-10-14-19-57-37.gh-issue-96035.0xcX-p.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-14-19-57-37.gh-issue-96035.0xcX-p.rst b/Misc/NEWS.d/next/Library/2022-10-14-19-57-37.gh-issue-96035.0xcX-p.rst new file mode 100644 index 0000000..f04a0fd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-10-14-19-57-37.gh-issue-96035.0xcX-p.rst @@ -0,0 +1,3 @@ +Fix bug in :func:`urllib.parse.urlparse` that causes certain port numbers +containing whitespace, underscores, plus and minus signs, or non-ASCII digits to be +incorrectly accepted. |