-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix: Use case insensitive check when validating login name #50989
Conversation
f9b7d47
to
126563c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from strcasecmp docs:
Binary safe case-insensitive string comparison. The comparison is not locale aware; only ASCII letters are compared in a case-insensitive way.
Contrary to the user id, there is no restriction on characters on login names.
Better to switch to mb_strtolower
?
Oh yes I missed that (maybe because there is no |
Signed-off-by: Cleopatra Enjeck M. <[email protected]>
Signed-off-by: Cleopatra Enjeck M. <[email protected]>
Signed-off-by: Cleopatra Enjeck M. <[email protected]>
961d47b
to
32e46a8
Compare
/backport to stable31 |
/backport to stable30 |
/backport to stable29 |
/backport to stable28 |
Summary
Use case insensitive check when validating login name
TODO
Checklist