gh-76960: Fix urljoining with an empty query string. by thetorpedodog · Pull Request #5645 · python/cpython

Paul Fisher added 2 commits

May 28, 2021 11:03
Previously, urllib.urljoin with a relative URL of the form '?' would
result in no change to the URL, in spite of the fact that it should
clear the query string.  This solves that case and variations on it.

@hauntsaninja

orsenthil

orsenthil

@gpshead gpshead changed the title bpo-32779: Fix urljoining with an empty query string. gh-76960: Fix urljoining with an empty query string.

May 9, 2023

gpshead