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

Retrieve Latest Artifact REST API is broken in Artifactory 6.2.0 and returns 400 ERROR

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 6.2.0
    • Fix Version/s: None
    • Component/s: Ivy, Maven, REST API
    • Labels:
      None
    • Regression:
      Yes

      Description

      Retrieve Latest Artifact REST API is broken in Artifactory 6.2.0 and returns 400 ERROR:
      https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-RetrieveLatestArtifact

      Steps to reproduce:

      1. Install Artifactory 6.2.0 and setup a release maven repository
      2. Upload some maven artifacts
      3. Try to pull the artifact with the Retrieve Latest Artifact REST API, for example:

      curl -XGET "http://localhost:8081/artifactory/libs-release-local/ant/ant/[RELEASE]/ant-[RELEASE].jar" -g -uadmin:password -v
      

      4. You will get a 400 ERROR

      In Artifactroy 6.1.0 works as expected.

      As a workaround in order to support the special characters we need to modify the tomcat.conf as the following :

      <Connector port="8081" sendReasonPhrase="true" relaxedPathChars='[]' relaxedQueryChars='[]'/>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mohammadt Mohammad Tibi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: