[ 
https://issues.apache.org/jira/browse/COUCHDB-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998333#comment-12998333
 ] 

Jan Lehnardt commented on COUCHDB-1072:
---------------------------------------

+1 on disallowing colons in usernames for consistency. Are there other 
characters where we don't have parity between the different login mechanisms?

> 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
>
> I have created multiple user documents in the _users database with the 
> following in the "name" property:
> "[email protected]"
> "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

        

Reply via email to