incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <zachary.zol...@gmail.com>
Subject Re: Username is case-sensative
Date Fri, 17 Sep 2010 19:34:03 GMT
You'd probably also wanna check the user doc IDs for caps in a
validate_doc_update function.
—Zach

On Fri, Sep 17, 2010 at 2:24 PM, Damien Katz <damien@apache.org> wrote:
> A simple fix for this is to normalize to lowercase names during registration and login,
then the user can put in whatever mixed case they want.
>
> -Damien
>
>
> On Sep 17, 2010, at 12:21 PM, Chris Anderson wrote:
>
>> On Fri, Sep 17, 2010 at 3:07 AM, Ido Ran <ido.ran@gmail.com> wrote:
>>> I agree, it should not be forced - I think it should be the default.
>>> If you know what you are doing and have a good reason to use case-sensitive
>>> usernames then go ahead, but for the rest of us, it should be as simple as
>>> it can.
>>> How Couch people say - case-insensitive username is more relaxing :)
>>>
>>
>> CouchDB uses document lookups to find users, so doing this would
>> involve making docids case-insensitive, which isn't gonna happen.
>>
>> The good answer would be to add whatever iPhone tags you have to add
>> to keep it from doing that stupid auto-shift key thing on login forms.
>>
>> I'd love a patch for that against this file:
>>
>> http://github.com/couchapp/couchapp/blob/master/vendor/evently/account/loginForm/mustache.html
>>
>> Chris
>>
>>> Ido
>>>
>>> On Fri, Sep 17, 2010 at 3:32 AM, Robert Newson <robert.newson@gmail.com>wrote:
>>>
>>>> The question is whether CouchDB should force everyone to do that or
>>>> not. I think it should not.
>>>>
>>>> B.
>>>>
>>>> On Fri, Sep 17, 2010 at 2:23 AM, Tyler Gillies <tyler@pdxbrain.com>
wrote:
>>>>> I think case insensitivity is good, prevents thing from getting
>>>> complicated
>>>>> with two users one named tyler and one named Tyler
>>>>>
>>>>> On Thu, Sep 16, 2010 at 12:50 PM, Randall Leeds <randall.leeds@gmail.com
>>>>> wrote:
>>>>>
>>>>>> On Thu, Sep 16, 2010 at 03:13, Ido Ran <ido.ran@gmail.com>
wrote:
>>>>>>> Unix, Linux, Windows, Gmail, Skype
>>>>>>>
>>>>>>> Any application I can think of treat username in case-insensitive
way.
>>>>>>
>>>>>> Really???
>>>>>>
>>>>>> rleeds@randalltor:~$ sudo -u Rleeds
>>>>>> sudo: unknown user: Rleeds
>>>>>> rleeds@randalltor:~$
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> http://www.readwriteweb.com/about#tyler
>>>>>
>>>>> Ask me anything <http://tumble.pdxbrain.com/ask>!
>>>>>
>>>>
>>>
>>
>>
>>
>> --
>> Chris Anderson
>> http://jchrisa.net
>> http://couch.io
>
>

Mime
View raw message