-
Notifications
You must be signed in to change notification settings - Fork 31
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
Bug when user cn has utf8 characters #61
Comments
I would like to understand more about this patch:
|
i went into the code of ldap.js and noticed that they return encoded utf8 chars. which wasn't handled in your code. if you would patch your code, i can use npm again. i will try to simulate a user later |
Can you be kindly to point me to where in the ldapjs code that it return encoded utf8? |
ok. I think I get what you mean. The return string from ldapjs will be backslash escaped hex if the result have utf encode runes. like this: |
fixed by merge #66 |
Hi, |
Seems not, I copied your code manually, and it works too. |
just published 3.2.2 which has the fix |
Add function :
and use it to unescape the result :
The text was updated successfully, but these errors were encountered: