Closed rkravchik closed 5 years ago
Sanitize dsn string given to the New connector from user/pass after first Connect call. We can't do it in New itself for backward compatibility.
(cherry picked from commit 3e5e4df8c878874ba446d55254659f9532bb89dc)
On a side note: this also fixes a possible deadlock in Connect()
Sanitize dsn string given to the New connector from user/pass after first Connect call. We can't do it in New itself for backward compatibility.
(cherry picked from commit 3e5e4df8c878874ba446d55254659f9532bb89dc)