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

"@" not allowed to be in the username, password #20

Closed
longbored opened this issue Jun 6, 2016 · 1 comment
Closed

"@" not allowed to be in the username, password #20

longbored opened this issue Jun 6, 2016 · 1 comment

Comments

@longbored
Copy link

In the SFTPClone class, if the username or password contains the "@" character, the username/hostname is parsed incorrectly. Here's the change I made on line 100 to sftpclone.py:

hostname, username = [k[::-1] for k in remote_url[::-1].split('@',1)]

Unfortunately, my amateur skills can't figure it out for the subsequent 'else'.

@aldur
Copy link
Collaborator

aldur commented Jun 17, 2016

Hi, thanks for reporting and sorry for the long time.
Can you try with the upstream version? I should have fixed your issue.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants