Ticket #1484473 (closed Patches: fixed)

Opened 17 months ago

Last modified 15 months ago

Case sensitive usernames

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

Description

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...

--- main.inc    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

Changed 17 months ago by thomasb

  • milestone set to 0.1-rc2

Hmm, depends on the IMAP server...

Changed 15 months ago by till

  • owner set to till
  • status changed from new to assigned

Changed 15 months ago by till

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r773 (trunk) and r774 (devel-vnext).

Note: See TracTickets for help on using tickets.