glpi
glpi copied to clipboard
Single quotation mark (apostrophe) in users email addresses makes them remove and add again on every synchronization with ldap servers
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- [X] I have searched the existing issues
Version
9.5.8 and 10.0.2
Bug description
We noticed that users with email addresses containting apostrophes get their glpi entries updated on every synchronizations with ldap servers. This can be seen in the users history. I didn't check where it comes from for the moment, but I suppose that the character is not correctly escaped somewhere...
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
OK, that's it... In GLPI data base, apostrophes are escaped neither in realname field (glpi_users) nor in email field (glpi_useremails), but they are when retrieved from the LDAP server. So the e-mail address is not matched during comparison in inc/user.class.php (9.5.8) and is removed than added again...
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.
The issue is still present.
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.