Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes utf password md5 bug #1178

Closed
wants to merge 1 commit into from
Closed

fixes utf password md5 bug #1178

wants to merge 1 commit into from

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