Modify ↓
#5285 closed defect (fixed)
PHPBB username should be treated case-insensitively
Reported by: | Maxence Bernard | Owned by: | John Hampton |
---|---|---|---|
Priority: | normal | Component: | PhpBbAuthPlugin |
Severity: | normal | Keywords: | |
Cc: | nicolas@… | Trac Release: | 0.11 |
Description
PhpBBAuthPlugin seems to be case-sensitive when treating usernames, where PHPBB is not. As a result, a user that is used to logging on PHPBB with a case-variation of his username won't be able to log on Trac.
Here are the steps to reproduce the bug:
- Create a PHPBB user with the username 'Nicolas' (mind the case)
- Log on PHPBB by entering 'nicolas' in the username field => OK
- Log on Trac/PhpBBAuthPlugin by entering 'nicolas' in the username field => FAIL
PS: Thanks for this great plugin! We will be using it shortly on mucommander.com .
Attachments (1)
Change History (2)
Changed 15 years ago by
Attachment: | case_insensitive_usernames.patch added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I have attached a patch that treats usernames case-insentively, allowing users to login with case variations of their username. It uses the 'username_clean' column of the 'phpbb_users' table, which contains the lower-cased username.
If the patch is OK with you, can you please add it to SVN ?
Thanks, Maxence
Note: See
TracTickets for help on using
tickets.
Treats usernames case-insentively, allowing users to login with case variations of their username