Skip to content

Conversation

VaoTsun
Copy link

@VaoTsun VaoTsun commented Dec 6, 2016

fixes the bug described in
http://stackoverflow.com/questions/33935749/node-js-postgres-utf-connect-string
In short:
utf password md5 generated is wrong because of binary encoding

fixes the bug described in
http://stackoverflow.com/questions/33935749/node-js-postgres-utf-connect-string
In short: 
utf password md5 generated is wrong because of binary encoding
@charmander
Copy link
Collaborator

Adding a test – just a quick Client.md5('😊') === '5deda34cd95f304948d2bc1b4a62c11e' – might help this go in faster.

@VaoTsun
Copy link
Author

VaoTsun commented Dec 8, 2016

@brianc
Copy link
Owner

brianc commented Dec 10, 2016

@VaoTsun - thanks! I'll write a test for this & get it merged in.

brianc added a commit that referenced this pull request Dec 13, 2016
This is the same fix as supplied in 1178 but includes a test.

Closes #1178
@brianc brianc closed this in #1183 Dec 13, 2016
brianc added a commit that referenced this pull request Dec 13, 2016
This is the same fix as supplied in 1178 but includes a test.

Closes #1178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants