[issue18140] urlparse.urlsplit confused to fragment when password include #

Martin Panter report at bugs.python.org
Mon Feb 9 05:24:32 CET 2015


Martin Panter added the comment:

Possibly related: Issue 23328. I would have thought any special characters in the password etc field should be encoded. Where do such unencoded URLs come from?

It seems that this would change the behaviour of parsing a URL such as

http://host/path/with/unencoded/@/character

Is one of these scenarios more valid than the other?

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list