Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17048

Creating a group with a slash "/" shouldn't be allowed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.0
    • Component/s: REST API
    • Labels:
      None
    • Regression:
      Yes

      Description

      The following REST request shouldn't be allowed:

      http -a admin:password PUT http://localhost:8081/artifactory/api/security/groups/some%2Fgroup name="some/group"
      

      It successfully creates a group with this name, resulting in a group you cannot edit or delete in Artifactory (UI or REST API) because of the "/" messing up with path params.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barh Bar Haim
                Reporter:
                alexist Alexis Tual
                Assigned QA:
                Andrey Tashlitsky
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: