Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1380

not able to delete group that is having special character from ranger admin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • admin, Ranger
    • None

    Description

      not able to delete group that is having special character from ranger admin

      org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:63) - Request failed. loginId=admin, logMessage=groupspecial#$@& is Not Found
      javax.ws.rs.WebApplicationException
      	at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:56)
      	at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:325)
      	at org.apache.ranger.service.XGroupService.getGroupByGroupName(XGroupService.java:104)
      	at org.apache.ranger.rest.XUserREST.deleteGroupsByGroupName(XUserREST.java:1064)
      	at org.apache.ranger.rest.XUserREST$$FastClassByCGLIB$$b2a65360.invoke(<generated>)
      	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
      	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
      

      problem is the input sent for special character is appended with amp after the & which is causing the issue.

      Attachments

        1. RANGER-1380.patch
          17 kB
          Mehul Parikh
        2. RANGER-1380.1.patch
          23 kB
          Mehul Parikh
        3. RANGER-1380.2.patch
          29 kB
          Mehul Parikh

        Issue Links

          Activity

            People

              mehul Mehul Parikh
              deepakhuawei Deepak Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: