Modify

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#5285 closed defect (fixed)

PHPBB username should be treated case-insensitively

Reported by: maxence Owned by: pacopablo
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)

case_insensitive_usernames.patch (1.4 KB) - added by maxence 5 years ago.
Treats usernames case-insentively, allowing users to login with case variations of their username

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by maxence

Treats usernames case-insentively, allowing users to login with case variations of their username

comment:1 Changed 5 years ago by maxence

  • Resolution set to fixed
  • Status changed from new to 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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from pacopablo. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.