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

When retrieving a folder in Artifactory that contains '+' it causes '404'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.13.1, 4.14.1
    • Fix Version/s: 5.0.0
    • Component/s: REST API
    • Labels:
      None

      Description

      When retrieving a folder that contains '+' sign in its name (e.g: abc+d) from Artifactory it retrieves '404' error.

      The '+' sign is translated into white space instead and therefore causes a 404 error when trying to download an entire folder.

      The issue was reproduced by the following:

      UI:

      2016-11-23 10:13:45,660 [http-nio-8081-exec-9] [ERROR] (o.a.d.FolderDownloadServiceImpl:199) - Path 'gen-local/abc d' does not exist, aborting folder download

      In the request.log:

      20161123102434|3|REQUEST|0:0:0:0:0:0:0:1|admin|GET|/ui/artifactactions/downloadfolder|HTTP/1.1|404|0

      When trying to retrieve the same folder through the REST, it works fine with no errors:

      20161123102149|10|REQUEST|0:0:0:0:0:0:0:1|admin|GET|/api/archive/download/gen-local/abc+d|HTTP/1.1|200|0

        Attachments

          Activity

            People

            • Assignee:
              tomere Tomer Elkayam
              Reporter:
              yonatanb@jfrog.com Yonatan Brand
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: