Use urlsplit() instead of urlparse() (#184)

This commit is contained in:
Adam Johnson 2022-10-15 09:24:18 +01:00 committed by GitHub
parent 2f5729bb06
commit 9a4a6f3535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ def parse(url, engine=None, conn_max_age=0, ssl_require=False):
# otherwise parse the url as normal
parsed_config = {}
url = urlparse.urlparse(url)
url = urlparse.urlsplit(url)
# Split query strings from path.
path = url.path[1:]