diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-11-07 07:09:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-07 07:09:59 (GMT) |
commit | dbb6e22cb1f533bba00a61a5b63ec68af9d48836 (patch) | |
tree | 57acd185257e6b8f9c0b5d3c34f9e51910ad51fe /Misc/NEWS.d/next/Library | |
parent | 223d3dc554dde45f185f7f465753824c6f698b9b (diff) | |
download | cpython-dbb6e22cb1f533bba00a61a5b63ec68af9d48836.zip cpython-dbb6e22cb1f533bba00a61a5b63ec68af9d48836.tar.gz cpython-dbb6e22cb1f533bba00a61a5b63ec68af9d48836.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-10-25-20-52-15.gh-issue-125926.pp8rtZ.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-10-25-20-52-15.gh-issue-125926.pp8rtZ.rst b/Misc/NEWS.d/next/Library/2024-10-25-20-52-15.gh-issue-125926.pp8rtZ.rst new file mode 100644 index 0000000..7f98bcd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-10-25-20-52-15.gh-issue-125926.pp8rtZ.rst @@ -0,0 +1,4 @@ +Fix :func:`urllib.parse.urljoin` for base URI with undefined authority. +Although :rfc:`3986` only specify reference resolution for absolute base +URI, :func:`!urljoin` should continue to return sensible result for relative +base URI. |