Steps to reproduce..

Sign up for a new user in futon with
username.= t...@test.com
password = test

 curl -vX PUT http://test%40test.com:t...@localhost:5984/db

The reason that this is important is because usernames with ANY encodable
characters cannot replicate at the moment.


On Tue, Aug 24, 2010 at 11:20 AM, Nathan Stott <nrst...@gmail.com> wrote:

> That is the id, but I was referring to the "name" field.
>
> {
>   "_id": 
> "org.couchdb.user:nrst...@gmail.com<org.couchdb.user%3anrst...@gmail.com>
> ",
>   "_rev": "1-fbc8402aa4d61bf0acd04ab8763760e4",
>   "name": "nrst...@gmail.com",
>   "type": "user",
>   "roles": [
>   ]
> }
>
> That's the actual document.
>
> On Tue, Aug 24, 2010 at 8:44 AM, Benoit Chesneau <bchesn...@gmail.com>
> wrote:
> > On Tue, Aug 24, 2010 at 3:32 PM, Nathan Stott <nrst...@gmail.com> wrote:
> >> It's saved in couch like "usern...@example.com"
> >>
> >> I have saved users named "nrst...@gmail.com" for example and that's
> >> how it shows up in the "name" field in the user doc
> >>
> >> On Tue, Aug 24, 2010 at 4:43 AM, Benoit Chesneau <bchesn...@gmail.com>
> wrote:
> >>> On Tue, Aug 24, 2010 at 8:08 AM, Nathan Stott <nrst...@gmail.com>
> wrote:
> >>>> You can reproduce it easily using curl or a web browser.  If your
> >>>> username has an @ in it, you can't use URL authentication successfully
> >>>> even if you url encode the username.
> >>>>
> >>>
> >>> At the end couchdb see only the headers. So maybe it's the way the
> >>> user was saved in the doc. Can you check how it is saved compared to
> >>> the pparam you pass in your client or browser ?
> >>>
> >>> - benoƮt
> >>
> >
> > I think it should be org.couchdb.user:username as id in user db. Need
> > to check though.
> >
> > - benoit
> >
>



-- 
Martin Murphy
Whiteboard-it
(205) 910-0720

Reply via email to