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

Cannot connect to server with "-" character #3

Open
piclem opened this issue May 2, 2017 · 1 comment
Open

Cannot connect to server with "-" character #3

piclem opened this issue May 2, 2017 · 1 comment

Comments

@piclem
Copy link

piclem commented May 2, 2017

When a server contains the "-" symbol, the parse_server_string() method in lycheeupload.py returns false and prevent the upload to perform.
Adding \- in the regular expression seems to solve this:
(.+)@([\w\d\.\-]+):(.+)
instead of
(.+)@([\w\d\.]+):(.+)

@r0x0r
Copy link
Owner

r0x0r commented May 9, 2017

I don't really maintain this project any more. Could you make a PR and I will merge it?

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