[issue5843] Possible normalization error in urlparse.urlunparse

Senthil Kumaran report at bugs.python.org
Wed Jul 14 21:09:32 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Currently this claim will fail:

>>> obj = urlparse.urlparse('http://a/b/c?')
>>> urlparse.urlunparse(obj)
'http://a/b/c'
>>> obj = urlparse.urlparse('http://a/b/c#')
>>> urlparse.urlunparse(obj)
'http://a/b/c'

If we move away from the current behavior, there will surely be some test failures that can be observed for urljoins. We will have to consider those cases too while fixing this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5843>
_______________________________________


More information about the Python-bugs-list mailing list