[18.0] [FIX] server_environment: no interpolation in the configparser#266
[18.0] [FIX] server_environment: no interpolation in the configparser#266AxelPrel wants to merge 1 commit into
Conversation
c354f67 to
dc80c52
Compare
dc80c52 to
82973d6
Compare
Hm, but this is a breaking change? What happens for users who have aready escaped % characeters in their configs.
|
yes this is a breaking change. any user of the module that explicitely use the configparser with interpolation (ie %(my_variable)) will get no interpolation at all. |
|
oh, and any user that doubled their %, bypassing this problem, will also suffer from this change, since the escape will now be taken literally, they will see two %% instead of just one % before, i think this is what you meant the escaping solution was not approved where we use this module, since we are talking about secrets that will eventually be placed directly in the conf by an external tool (apikeys, passwords, etc) and escaping the % at this stage, even though it fixed the problem, was considered a dirty workaround that was not approved. this is why i proposed this change |
Yes exactly that, I've been hit by that this week too... But breaking that behaviour will make things awful for those who already escaped. So let's make this configurable with a system parameter and some documentation? |
Fixes #265