[issue8721] urlparse.urlsplit regression in 2.7

Senthil Kumaran report at bugs.python.org
Sun May 16 09:03:06 CEST 2010


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

FWIW, it should also be noted that RFC asserts square brackets to be
valid characters in the hostname portion only and that too when it is
a IPv6 url. 

In the example given, at the query portion, it should be quoted (or
percent-encoded)

----------

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


More information about the Python-bugs-list mailing list