Skip to content

% sign in password should be escaped #5

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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