Unable to escape %% in StringOptions with interpolation
Bug #1034965 reported by
John Samuel Anderson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
New
|
Undecided
|
Unassigned | ||
configglue |
New
|
Undecided
|
Unassigned |
Bug Description
It is possible to use string interpolation in StringOption values. (And in DictOptions, too.)
It is possible to include a percent sign in a StringOption value, if it is specified as "raw=True".
It is NOT possible to do BOTH interpolation AND include a percent sign in StringOption.
According to this StackExchange post, the solution could simply be to use "SafeConfigParser" instead of "ConfigParser".
To post a comment you must log in.