OCA / server-env

Tools to manage environment-dependent configuration
GNU Affero General Public License v3.0
57 stars 157 forks source link

fix special chars breaking config #100

Closed MarekVigas closed 2 years ago

MarekVigas commented 2 years ago

When config contains special character % odoo fails to start with following error

configparser.InterpolationSyntaxError: '%' must be followed by '%'

I think interpolation should be disabled or better handled with some validation that will warn user about their config. This PR disables interpolation as suggested here

github-actions[bot] commented 2 years ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.