]> granicus.if.org Git - postgresql/commit
Don't forget to de-escape the password field in .pgpass.
authorRobert Haas <rhaas@postgresql.org>
Thu, 22 Dec 2011 17:55:27 +0000 (12:55 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 22 Dec 2011 18:02:57 +0000 (13:02 -0500)
commit8d15e3ec4fcb735875a8a70a09ec0c62153c3329
treec13b774bdf3b4dd6b9f421c4d4b09a890761cc64
parentc31224e257a57fc9ad1c602414d9f6f5f4ce4ae3
Don't forget to de-escape the password field in .pgpass.

This has been broken just about forever (or more specifically, commit
7f4981f4af1700456f98ac3f2b2d84959919ec81) and nobody noticed until
Richard Huxton reported it recently.  Analysis and fix by Ross
Reedstrom, although I didn't use his patch.  This doesn't seem
important enough to back-patch and is mildly backward incompatible, so
I'm just doing this in master.
src/interfaces/libpq/fe-connect.c