Case sensitive usernames #1120

Closed
rcubetrac opened this Issue Jul 12, 2007 · 6 comments

2 participants

@rcubetrac

Reported by asteiner on 12 Jul 2007 12:08 UTC as Trac ticket #1484473

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)

Migrated-From: http://trac.roundcube.net/ticket/1484473

@rcubetrac

Comment by @thomascube on 13 Jul 2007 10:10 UTC

Hmm, depends on the IMAP server...

@rcubetrac

Milestone changed by @thomascube on 13 Jul 2007 10:10 UTC

=> 0.1-rc2

@rcubetrac

Status changed by @till on 1 Sep 2007 18:58 UTC

new => assigned

@rcubetrac

Owner changed by @till on 1 Sep 2007 18:58 UTC

=> till

@rcubetrac

Comment by @till on 1 Sep 2007 18:58 UTC

Fixed in a664a67 (trunk) and r774/svn (devel-vnext).

@rcubetrac

Status changed by @till on 1 Sep 2007 18:58 UTC

assigned => closed

@rcubetrac rcubetrac closed this Sep 1, 2007
@till till was assigned by rcubetrac Mar 20, 2016
@rcubetrac rcubetrac added this to the 0.1-rc2 milestone Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment