[New-bugs-announce] [issue7904] urllib.urlparse mishandles novel schemes

mARK report at bugs.python.org
Thu Feb 11 00:24:50 CET 2010


New submission from mARK <python.mbloore at xoxy.net>:

urlparse.urlsplit('s3://example/files/photos/161565.jpg')
returns
('s3', '', '//example/files/photos/161565.jpg', '', '')
instead of
('s3', 'example', '/files/photos/161565.jpg', '', '')

according to rfc 3986 's3' is a valid scheme name, so the '://' indicates a URL with netloc and path parts.

----------
components: Extension Modules
messages: 99181
nosy: mbloore
severity: normal
status: open
title: urllib.urlparse mishandles novel schemes
type: behavior
versions: Python 2.5

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


More information about the New-bugs-announce mailing list