summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-20 21:28:36 (GMT)
committerGitHub <noreply@github.com>2022-10-20 21:28:36 (GMT)
commit1520f4e45bc9d968a98d062ca6880387a0d98c08 (patch)
tree91160618921ca9ca1a89f9c2f5439f86b9c8edb4 /Misc
parentace6611de602906414d612b5649c13b9d8115a1e (diff)
downloadcpython-1520f4e45bc9d968a98d062ca6880387a0d98c08.zip
cpython-1520f4e45bc9d968a98d062ca6880387a0d98c08.tar.gz
cpython-1520f4e45bc9d968a98d062ca6880387a0d98c08.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.rst3
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.