Modify

Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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)

case_insensitive_usernames.patch (1.4 KB) - added by Maxence Bernard 15 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 15 years ago by Maxence Bernard

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

comment:1 Changed 15 years ago by Maxence Bernard

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.