Unable to escape %% in StringOptions with interpolation

Bug #1034965 reported by John Samuel Anderson
6
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".

http://stackoverflow.com/questions/2537929/is-it-possible-to-temporarily-disable-pythons-string-interpolation

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.