[issue4962] urlparse & nfs url (rfc 2224)

Senthil report at bugs.python.org
Mon Mar 30 23:34:52 CEST 2009


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

Patch to fix this. Looked into the RFCs and I do not find a reason why
the nfs://server/path/to/file.txt should not be parsed as:

>>> urlparse.urlsplit('nfs://server/path/to/file.txt')
SplitResult(scheme='nfs', netloc='server', path='/path/to/file.txt',
query='', fragment='')

Patch and Tests added.

----------

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


More information about the Python-bugs-list mailing list