[issue32779] urljoining an empty query string doesn't clear query string
Paul Fisher
report at bugs.python.org
Fri May 28 10:36:47 EDT 2021
Paul Fisher <paul at pfish.zone> added the comment:
Reading more into this, from section 5.2,1:
> A component is undefined if its associated delimiter does not appear in the URI reference
So you could say that since there is a '?', the query component is *defined*, but *empty*. This would mean that assigning the target query to be '' has the desired effect as implemented by browsers and other languages' standard libraries.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32779>
_______________________________________
More information about the Python-bugs-list
mailing list