laserlemon / figaro

Simple Rails app configuration
MIT License
3.77k stars 287 forks source link

Remove escape characters when loading environment values #280 #281

Open banta opened 4 years ago

banta commented 4 years ago

Let's say you have app_key: e$Gu768HKkiec in your application.yml. When calling Figaro.env.app_key Figaro will display the value as e\$Gu768HKkiec which does not match what is the config file because of \ escape character. Figaro needs to be improved to remove the escape characters.