Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
properly escape quotes in passwords by calling to_ruby
database passwords can contain special characters, especially " and ' so we can't just print the value of the field enclosed by double quotes as that would break whenever the user uses a literal " in their password using to_ruby here and not to_yaml, as the former gives us correct escaping without the whole `---` and `\n` enclosing that to_yaml forces. using to_yaml would require to pass *the whole* config hash to it
- Loading branch information