You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Lynch Lee (JIRA)" <ji...@apache.org> on 2015/07/19 16:03:04 UTC

[jira] [Commented] (USERGRID-868) a entity name with slash [/] that can not be used well

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

Lynch Lee commented on USERGRID-868:
------------------------------------

1. create a new user named "aa/bb".
#curl -XPOST "http://localhost:8080/org/app/users" -d '{"username":"aa/bb","password":"123123123"}'

2. fetch the user named "aa/bb" , it returns ServiceResourceNotFoundException.

> a entity name with slash [/] that can not be used well
> ------------------------------------------------------
>
>                 Key: USERGRID-868
>                 URL: https://issues.apache.org/jira/browse/USERGRID-868
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>    Affects Versions: 1.0.2
>            Reporter: Lynch Lee
>            Assignee: Lynch Lee
>             Fix For: 1.0.2
>
>
> create a entity with the name contains slash [/] ok, but then the new entity can not be used well -- get, delete, put with the name, only can use uuid to operate it . I think we can change the username pattern what is like [a-zA-Z0-9_\-./ ]* , this is in the class org.apache.usergrid.persistence.Identifier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)