Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-16425

Download Endpoint Returns Checksum Files if Maven Classifier Param is Set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: REST
    • Labels:
      None
    • Story Points:
      1

      Description

      When calling /beta/search/assets or /beta/search/assets/download with both the maven classifier and maven extension parameters, the response returns the checksum files along with the asset specified in the extension.

      For example calling:

      http://localhost:8081/service/rest/beta/search/assets?repository=maven-releases&version=1.0.1&maven.groupId=org.foo&maven.artifactId=bar.project&maven.extension=jar&maven.classifier=blah

      Will result in the jar asset as well as its checksum files being returned. It is expected that only the jar will be returned.

      Omitting the classifier parameter results in only the jar being returned as expected.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              natemcafee Nate McAfee
              Reporter:
              hardeepn Hardeep Nagra
              Last Updated By:
              Peter Lynch
              Team:
              Nexus - Core
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title