[dev] Fwd: [horde] Fwd: Case insensitive unique key

Chuck Hagenbuch chuck at horde.org
Sat May 7 00:35:24 UTC 2011


Seems like the consensus is for lowercasing/normalizing. And no one  
speaking against it. Can we consider this a done decision?

Are we set up to make this change in the develop branch?

----- Forwarded message from Vilius ?umskas <vilius at lnk.lt> -----
    Date: Wed, 4 May 2011 15:38:51 +0300
    From: Vilius ?umskas <vilius at lnk.lt>
Subject: Re: [horde] Fwd: [dev] Case insensitive unique key
      To: horde at lists.horde.org

> On 05/03/2011 01:24 PM, Andrew Morgan wrote:
> > On Tue, 3 May 2011, Jan Schneider wrote:
> >
> >> Admins,
> >>
> >> please take a look at this conversation on the developer mailing list.
> >> This is the context for the question if we should normalize all user
> >> names to lower case in Horde 5.
> >
> > I have always used a hook to lowercase all usernames. I had confused
> > users say that their preferences were gone because they logged in with a
> > different case for their username. So I decided they should all be
> > lowercase.
> >
> > Andy
>
> We had to do the same thing in the past (force lowercase) as well as
> removing spaces from the start and end of userids.
>
> So I agree with normalizing.

+1 from me. I also agree that using trim() on the username is another  
good idea. Not sure why IMAP servers allow to login with usernames  
with spaces.

--
    Vilius

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org

----- End forwarded message -----

-chuck


More information about the dev mailing list