-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
LDAP sync breaks non ASCII UTF-8 characters in user names after authentication [0.59.2] #8649
Comments
have same issue , version 0.59.2 |
I'll also add that since fullname is used in direct room topic bar (if you have Use Real Name option enabled), ASCII formed full names "leak" from there to the channel list. This happens even if one downgrades back to 0.59.1 and updates users via LDAP, then logs back in, or manually fixes the name in the user list. I could not find malformed names in the database (didn't know where to look originally), so I had to delete all direct rooms using GUI. (After I had found delete button workaround in #8562 comments.) |
We have the same issue with newly imported users username und name - Version 0.59.2 |
@ArchimedesFM For us it happened only after doing actual login. Running LDAP sync from the setting didn't trigger it, nor did it fix it afterwards. Edit: Sorry, I did bad reading. I didn't test fixing the user names manually after login. That might help as a band aid for now. |
i fix manually also, but after logout&login its happened again |
Also confirmed on 0.59.2 |
same for Polish characters in 0.59.2 |
The LDAP Plugin totally broken.
Only the sync during the login by user will work, but with broken escaping. |
So the first patch ist for fixing manual sync: |
[FIX] LDAP not merging existent users && Wrong id link generation
The other problem why special chars are broken is the handling with ldap fields as BINARY!!! When you revert this the encoding is working again. |
Thanks guys, I'll take a look ASAP |
Guys, version 0.59.3 is building and will be available soon with this fix. |
Please let me know if there are more issues related to LDAP |
Seems to work ok for us with 0.59.3. Thanks! :) |
with 0.59.3, works for me now. thanks! |
Description:
LDAP sync breaks Nordic characters in user's full name after authentication in 0.59.2.
Server Setup Information:
Steps to Reproduce:
Expected behavior:
User's name should be ok and contain UTF-8 characters such as ä.
Actual behavior:
User's name has changed both in Admin user list and any new messages to contain wrongly decoded characters such ä (which should be ä).
The issue did not exist in 0.59.1 or earlier.
The text was updated successfully, but these errors were encountered: