ee8193673c
* Fix escaping of libpq connection string properties Fix handlings of libpq connection properties to properly escape single quotes and backslashes. Previously the values were surrounded in single quotes which handled whitespace within the property value, but internal single quotes and backslashes would cause invalid connection strings to be generated. * Update expected output in test to be quoted Update the expect host output in the connection parameter test to expect it to be surrounded by single quotes. * Add test for configs with quotes and backslashes |
||
---|---|---|
.. | ||
native | ||
client.js | ||
connection-parameters.js | ||
connection.js | ||
defaults.js | ||
index.js | ||
pool-factory.js | ||
query.js | ||
result.js | ||
type-overrides.js | ||
utils.js |