lycheeupload icon indicating copy to clipboard operation
lycheeupload copied to clipboard

Cannot connect to server with "-" character

Open piclem opened this issue 7 years ago • 1 comments

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\.]+):(.+)

piclem avatar May 02 '17 16:05 piclem

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

r0x0r avatar May 09 '17 11:05 r0x0r