laserlemon / figaro

Simple Rails app configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove escape characters when loading environment values

banta opened this issue · comments

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.