Skip to content

% sign in password should be escaped #5

@glebteterin

Description

@glebteterin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions