-
Type:
Bug
-
Status: Resolved
-
Resolution: Done
-
Affects Version/s: 2.9.1
-
Fix Version/s: 2.9.2
-
Component/s: None
-
Labels:None
{ "files": [ { "pattern": "/tmp/aaa/a", "target": "libs-release-local/", "flat": "false" } ] }
The above code snippet build the following pattern:
http://127.0.0.1:8081/artifactory/libs-release-local/../../../../../tmp/aaa/a
which causes:
java.io.IOException: Failed to deploy file. Status code: 400
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:659)