BUG Database config values aren't escaped

Causes minor UI issues if you try use database configuration values that happen to have " or other values in them.
Merge pull request #1327 from ss23/patch-2

BUG Database config values aren't escaped