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

URLEncode and URLDecode methods are mismatch on usersync and admin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • admin, usersync
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              pradeep Pradeep Agrawal
              ruo_yu_wang ruoyu wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: