Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-68869

group API method cannot fetch group names with a slash

    XMLWordPrintable

Details

    Description

      Issue Summary

      Confluence Cloud permits group names with a slash in them. Ex: "foo/bar". However, when using the "group" API resource, groups cannot be fetched by name when they have a slash. Ex: "https://foo.atlassian.net/wiki/rest/experimental/group/foo/bar". Nor does the method support URL encoded slashes like "foo%2Fbar"

      Steps to Reproduce

      1. From the admin section, create a group named 'foo/bar"
      2. From the browser, navigate to: "https://yourinstance/wiki/rest/experimental/group/foo/bar" or "https://yourinstance/wiki/rest/experimentsl/group/foo%2Fbar"

      Expected Results

      Successful API response with group info in JSON

      Actual Results

      400 bad request

      The below exception is thrown in the xxxxxxx.log file:

      ...
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            nmansilla Neil
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: