[ 
https://issues.apache.org/jira/browse/RANGER-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Agrawal updated RANGER-1276:
------------------------------------
    Affects Version/s: 0.4.0
                       0.5.0
                       0.6.0

> User/Group search is failing due to encoding issues
> ---------------------------------------------------
>
>                 Key: RANGER-1276
>                 URL: https://issues.apache.org/jira/browse/RANGER-1276
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.4.0, 0.5.0, 0.6.0, 0.7.0
>            Reporter: Pradeep Agrawal
>            Assignee: Pradeep Agrawal
>             Fix For: 0.7.0
>
>
> if usersync process add groups with spaces in ranger admin, then to remove a 
> user from a group it calls REST:
> /group/{groupName}/user/{userName}
> In this REST call if a group name contains spaces then URLEncoder.encode(s, 
> "UTF-8") method replace these spaces with + symbol and request is forwarded 
> to ranger-admin. Whenever Ranger receives group name with + character (rather 
> spaces) it tries to search the received group name in db but fails to find 
> any rows as the group name with '+' character does not exist. At Ranger admin 
> end this process is considered as a failure of the request and ranger-admin 
> sends the error message to the log file.
> Expected : During encoding usersync process should encode spaces to %20 so 
> that ranger-admin can decode the %20 code to spaces.



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

Reply via email to