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

Pradeep Agrawal updated RANGER-1115:
------------------------------------
    Fix Version/s: 0.7.0

> URLEncode and URLDecode methods are mismatch on usersync and admin
> ------------------------------------------------------------------
>
>                 Key: RANGER-1115
>                 URL: https://issues.apache.org/jira/browse/RANGER-1115
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, usersync
>    Affects Versions: 0.6.0
>            Reporter: ruoyu wang
>            Assignee: Pradeep Agrawal
>             Fix For: 0.7.0
>
>         Attachments: 
> 0001-RANGER-1115-URLEncode-and-URLDecode-methods-are-mism.patch
>
>
> I  tried to call rest api 
> (delete) /service/xusers/group/{groupName}/user/{userName} 
> from ugsync (method private void delXUserGroupInfo).
> I pass path parameter, userName like "a b+c". Method called in ugsync, 
> UserSyncUtil.encodeURIParam(username) encode userName into "a+b%2Bc" but on 
> admin, userName decoded into "a+b+c".
> It seems space is not decoded properly. 



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

Reply via email to