Ticket #1484473 (closed 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: | |
| 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
Note: See
TracTickets for help on using
tickets.
