[issue7904] urlparse.urlsplit mishandles novel schemes

R. David Murray report at bugs.python.org
Fri Feb 12 14:41:51 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

I think Mark is correct.  RFC 3986 says:

When authority is present, the path must either be empty or begin with a slash ("/") character.  When authority is not present, the path cannot begin with two slash characters ("//").

I think it would make sense to have urlparse fall back to doing a generic RFC 3986 parse when it does not recognize the scheme.

----------
nosy: +r.david.murray
versions: +Python 3.1, Python 3.2

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


More information about the Python-bugs-list mailing list