ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Agrawal (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (RANGER-1115) URLEncode and URLDecode methods are mismatch on usersync and admin
Date Mon, 23 Jan 2017 07:03:26 GMT

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

Pradeep Agrawal reassigned RANGER-1115:
---------------------------------------

    Assignee: Pradeep Agrawal

> 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
>         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)

Mime
View raw message