[RTFACT-12821] When retrieving a folder in Artifactory that contains '+' it causes '404' Created: 13/Nov/16  Updated: 14/Nov/17  Resolved: 18/Dec/16

Status: Resolved
Project: Artifactory Binary Repository
Component/s: REST API
Affects Version/s: 4.13.1, 4.14.1
Fix Version/s: 5.0.0

Type: Bug Priority: Normal
Reporter: Yonatan Brand Assignee: Tomer Elkayam
Resolution: Fixed Votes: 0
Labels: None

Sprint: Leap 2

 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


Generated at Tue Jan 21 15:27:42 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.