Skip to content

"%" in password is interpreted as formatting operator #197

@dhohn

Description

@dhohn

I happen to have a "%" character in my openid pwd. When I enter it as is in the credentials file (or the init wizard) it is recognised as the python formatting operator.

configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: 'somepartialpassword'

A workaround is to escape it like "%%" or just changing password.

A solution is probably disabling interpolation in configparser e.g. ConfigParser(interpolation=None).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions