]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125926: Fix urllib.parse.urljoin() for base URI with undefined authority (GH-125989)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Nov 2024 07:09:59 +0000 (09:09 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 07:09:59 +0000 (09:09 +0200)
commitdbb6e22cb1f533bba00a61a5b63ec68af9d48836
tree57acd185257e6b8f9c0b5d3c34f9e51910ad51fe
parent223d3dc554dde45f185f7f465753824c6f698b9b
gh-125926: Fix urllib.parse.urljoin() for base URI with undefined authority (GH-125989)

Although this goes beyond the application of RFC 3986, urljoin()
should support relative base URIs for backward compatibility.
Lib/test/test_urlparse.py
Lib/urllib/parse.py
Misc/NEWS.d/next/Library/2024-10-25-20-52-15.gh-issue-125926.pp8rtZ.rst [new file with mode: 0644]