Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dhohn opened this issue Mar 24, 2022 · 0 comments
Open

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

dhohn opened this issue Mar 24, 2022 · 0 comments

Comments

@dhohn
Copy link

dhohn commented Mar 24, 2022

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

@dhohn dhohn changed the title "%" is password is interpreted as formatting operator "%" in password is interpreted as formatting operator Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant