ftps icon indicating copy to clipboard operation
ftps copied to clipboard

% sign in password should be escaped

Open glebteterin opened this issue 2 years ago • 1 comments

When password contains % sign, it has to be escaped with %%. Otherwise you will get 530 Login authentication failed error.

It happens because commands are pre-formatted before sending them to textproto.Cmd. As a result, the command text is being used as a format parameter without arguments, so that the password "a%b" will turn to "a%!b(MISSING)"

glebteterin avatar Jan 13 '22 03:01 glebteterin

@glebteterin Thank you for reporting the issue.

I have no time to fix the issue currently, but am open for pull requests...

marcobeierer avatar Jan 13 '22 23:01 marcobeierer