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

When deploying without trailing '/' the response is not informative enough.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When deploying without tailing '/' (at the end of the URL) the response is as the following:

      {
        "errors" : [ {
          "status" : 400,
          "message" : "Unsupported archive extension: 'null'"
        } ]
      }
      

      Steps to reproduce:
      1. create a generic repository in Artifactory.
      2. upload a zip file with 'X-Explode-Archive-Atomic: true' header to a folder inside the repository without a '/' at the end of the URL.

      For example:

      $ curl -XPUT --header 'X-JFrog-Art-Api: <API-KEY>' --header 'X-Explode-Archive-Atomic: true' --upload-file ~/Desktop/Archive.zip http://localhost:8081/artifactory/generic-local/test
      {
        "errors" : [ {
          "status" : 400,
          "message" : "Unsupported archive extension: 'null'"
        } ]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kfira Kfir Avraham
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: