Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 80661 invoked from network); 1 Mar 2011 16:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 16:36:07 -0000 Received: (qmail 77977 invoked by uid 500); 1 Mar 2011 16:36:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 76019 invoked by uid 500); 1 Mar 2011 16:36:02 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 74801 invoked by uid 99); 1 Mar 2011 16:36:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 16:36:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 16:35:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 13AF44636D for ; Tue, 1 Mar 2011 16:35:37 +0000 (UTC) Date: Tue, 1 Mar 2011 16:35:37 +0000 (UTC) From: "Filipe Manana (JIRA)" To: dev@couchdb.apache.org Message-ID: <201469969.5361.1298997337076.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <315408716.8290.1298385758655.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (COUCHDB-1072) Having a : in the "name" property in a _users document makes the GET /_session won't work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana resolved COUCHDB-1072. ------------------------------------ Resolution: Fixed Fix Version/s: 1.2 Applied to trunk > Having a : in the "name" property in a _users document makes the GET /_session won't work > ----------------------------------------------------------------------------------------- > > Key: COUCHDB-1072 > URL: https://issues.apache.org/jira/browse/COUCHDB-1072 > Project: CouchDB > Issue Type: Bug > Reporter: Johnny Weng Luu > Assignee: Filipe Manana > Priority: Critical > Fix For: 1.2 > > Attachments: COUCHDB-1072.patch > > > I have created multiple user documents in the _users database with the following in the "name" property: > "johnny.weng.luu@gmail.com" > "mammamia" > "mamma/mia" > "mamma:mia" > I logged in each one of them (the password is the same for all of them) and then I tried to get the current user session with GET /_session with cookie auth. > It worked for the first 3 documents but not for the 4th one. > Conclusion: If I have a : in the "name" it won't work. > Would be good to either fix that so every character works or emitting an error message if you save a document with invalid characters like the ":". > Hope this will be taken care of! Took me quite some time to figure out! -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira