This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urlparse does not know about sftp: urls
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, zenzen
Priority: normal Keywords:

Created on 2006-01-17 03:47 by zenzen, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27301 - (view) Author: Stuart Bishop (zenzen) Date: 2006-01-17 03:47
>>> from urlparse import urlparse
>>> urlparse('sftp://example.com//absolute/path')
('sftp', '', '//example.com//absolute/path', '', '', '')
>>> urlparse('sftp://example.com/relative/path')
('sftp', '', '//example.com/relative/path', '', '', '')

netloc should be populated in both cases
msg27302 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-01-20 17:24
Logged In: YES 
user_id=1188172

Thanks for the report.
Committed revisions 42108, 42109 (2.4).
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42801
2006-01-17 03:47:29zenzencreate