[issue32779] urljoining an empty query string doesn't clear query string
Irit Katriel
report at bugs.python.org
Fri May 28 06:00:15 EDT 2021
Irit Katriel <iritkatriel at yahoo.com> added the comment:
Sorry, urlparse returns '' rather than None when there is no query.
So we indeed need to check something like
if '?' not in url:
or what's in Paul's patch.
However, my main point was to question whether fixing this is actually in contradiction with the RFC.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32779>
_______________________________________
More information about the Python-bugs-list
mailing list