Opened 9 years ago

Closed 8 years ago

#1484473 closed Feature Patches (fixed)

Case sensitive usernames

Reported by: asteiner Owned by: till
Priority: 5 Milestone: 0.1-rc2
Component: Database Version: 0.1-rc1
Severity: trivial Keywords:


I think it's not a good idea, that usernames are stored case sensitive in the DB. If a users logs in with the username written in lowercase, and creates some addressbook entries, these entries are not available, if the user logs in with capital letters...

---    2007-07-12 13:59:47.000000000 +0200
+++ main.inc_lower      2007-07-12 14:00:19.000000000 +0200
@@ -450,6 +450,7 @@
 function rcmail_login($user, $pass, $host=NULL)
   global $CONFIG, $IMAP, $DB, $sess_user_lang;
+  $user = strtolower($user);
   $user_id = NULL;
   if (!$host)

Change History (3)

comment:1 Changed 9 years ago by thomasb

  • Milestone set to 0.1-rc2

Hmm, depends on the IMAP server...

comment:2 Changed 8 years ago by till

  • Owner set to till
  • Status changed from new to assigned

comment:3 Changed 8 years ago by till

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [a664a679] (trunk) and r774/svn (devel-vnext).

Note: See TracTickets for help on using tickets.