Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlparse does not know about sftp: urls #42801

Closed
zenzen mannequin opened this issue Jan 17, 2006 · 2 comments
Closed

urlparse does not know about sftp: urls #42801

zenzen mannequin opened this issue Jan 17, 2006 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@zenzen
Copy link
Mannequin

zenzen mannequin commented Jan 17, 2006

BPO 1407902
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2006-01-20.17:24:51.000>
created_at = <Date 2006-01-17.03:47:29.000>
labels = ['library']
title = 'urlparse does not know about sftp: urls'
updated_at = <Date 2006-01-20.17:24:51.000>
user = 'https://bugs.python.org/zenzen'

bugs.python.org fields:

activity = <Date 2006-01-20.17:24:51.000>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2006-01-17.03:47:29.000>
creator = 'zenzen'
dependencies = []
files = []
hgrepos = []
issue_num = 1407902
keywords = []
message_count = 2.0
messages = ['27301', '27302']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'zenzen']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1407902'
versions = []

@zenzen
Copy link
Mannequin Author

zenzen mannequin commented Jan 17, 2006

>>> 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

@zenzen zenzen mannequin closed this as completed Jan 17, 2006
@zenzen zenzen mannequin added the stdlib Python modules in the Lib dir label Jan 17, 2006
@zenzen zenzen mannequin closed this as completed Jan 17, 2006
@zenzen zenzen mannequin added the stdlib Python modules in the Lib dir label Jan 17, 2006
@birkenfeld
Copy link
Member

Logged In: YES
user_id=1188172

Thanks for the report.
Committed revisions 42108, 42109 (2.4).

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant