Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 95510 invoked from network); 17 Sep 2010 19:34:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Sep 2010 19:34:51 -0000 Received: (qmail 12020 invoked by uid 500); 17 Sep 2010 19:34:49 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 11976 invoked by uid 500); 17 Sep 2010 19:34:49 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 11968 invoked by uid 99); 17 Sep 2010 19:34:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 19:34:48 +0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zachary.zolton@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 19:34:45 +0000 Received: by wyb40 with SMTP id 40so3762906wyb.11 for ; Fri, 17 Sep 2010 12:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=rq0Rkh6GrZbv/2FV0oLxXbzgbcqpg2sbzhziD0dX40c=; b=lDTleKNolSGgczvJlDmhHnZBr9DX4WoR9T/Lp8RybUK1f6B1vq0c9e9yad1hQkl9pn 5C+UVmIwfZkYovt6c8Gm7+ZzDZAyTa/LS3Se4+xz8gD1pAki1nd6EgTHv8AQWkDPIKnH IiqpJpUPiXzBVLsIIfX+m54ixbeld+TrVIL+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=sqUa3jlb5BlVA7ohft+2SkentYsntF6ebMkH3+VI/ZSXg1iN+9TATbZeKO8B5rzcXi shVUwQaQKWtMb+AGzmM5x3WnA6P+fsSm9h2xJvIJKZQ0ypyqUNnOqhkTmOkMQubmLwPR e5JxZlDl5Yt82gWp5aWVgKYUU3uZ84+r4HDls= Received: by 10.227.27.214 with SMTP id j22mr4629092wbc.72.1284752063429; Fri, 17 Sep 2010 12:34:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.180.6 with HTTP; Fri, 17 Sep 2010 12:34:03 -0700 (PDT) In-Reply-To: <21B03A20-0259-4AB4-8502-5DE1A13372B0@apache.org> References: <21B03A20-0259-4AB4-8502-5DE1A13372B0@apache.org> From: Zachary Zolton Date: Fri, 17 Sep 2010 14:34:03 -0500 Message-ID: Subject: Re: Username is case-sensative To: user@couchdb.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You'd probably also wanna check the user doc IDs for caps in a validate_doc_update function. =97Zach On Fri, Sep 17, 2010 at 2:24 PM, Damien Katz wrote: > A simple fix for this is to normalize to lowercase names during registrat= ion 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 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-sensi= tive >>> 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/l= oginForm/mustache.html >> >> Chris >> >>> Ido >>> >>> On Fri, Sep 17, 2010 at 3:32 AM, Robert Newson 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 wr= ote: >>>>> 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 >>>> wrote: >>>>> >>>>>> On Thu, Sep 16, 2010 at 03:13, Ido Ran wrote: >>>>>>> Unix, Linux, Windows, Gmail, Skype >>>>>>> >>>>>>> Any application I can think of treat username in case-insensitive w= ay. >>>>>> >>>>>> Really??? >>>>>> >>>>>> rleeds@randalltor:~$ sudo -u Rleeds >>>>>> sudo: unknown user: Rleeds >>>>>> rleeds@randalltor:~$ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> http://www.readwriteweb.com/about#tyler >>>>> >>>>> Ask me anything ! >>>>> >>>> >>> >> >> >> >> -- >> Chris Anderson >> http://jchrisa.net >> http://couch.io > >