Error When there is an @ symbol in the password. error: invalid interpolation syntax in %r at #1280
Replies: 2 comments
-
Hi, Since the config file parser is parted using config parser you need to escape the |
Beta Was this translation helpful? Give feedback.
-
If you encounter this issue, simply utilize a double percent sign (%%) in place of a single percent sign (%) if your password contains the latter. This adjustment ensures the proper handling of percent signs within passwords and resolves the reported problem. This is because at C:\Users{YourUserName}\AppData\Local\Programs\Python\Python311\Lib\configparser.py line 403, in before_set function, python311 is using double percent sign (%%) to escape the single percent sign (%) |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Error When there is an @ symbol in the password
urlencode('@') = %40
Abc@1234567 = Abc%401234567
Expected behavior
To Reproduce
Please try to provide a Minimal, Complete, and Verifiable example, with the migration script and/or the SQLAlchemy tables or models involved.
See also Reporting Bugs on the website.
Error
Versions.
Beta Was this translation helpful? Give feedback.
All reactions