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

uncompressed archives with HTML file as an entry can be rejected by file content validation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8.1, 3.0.0-m1
    • Component/s: Maven
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Sprint 16

      Description

      Fire up Nexus 2.7.2, and retrieve this URL:

      http://localhost:8081/nexus/content/groups/public/com/intellij/annotations/7.0.3/annotations-7.0.3.jar

      This works.

      Now try the same with Nexus 2.8.0. This will fail, the artifact is rejected by file content validation. I'm not sure why, the magic number is correct, and various zip programs I tried (including jar) unpack it without complaint.

      jvm 1 | 2014-04-29 09:15:15,818-0500 INFO [qtp128766849-84] admin org.sonatype.nexus.proxy.maven.maven2.M2Repository - Proxied item central:/com/intellij/annotations/7.0.3/annotations-7.0.3.jar evaluated as INVALID during content validation (validator=filetypevalidator, sourceUrl=https://secure.central.sonatype.com/maven2/com/intellij/annotations/7.0.3/annotations-7.0.3.jar)

        Attachments

          Activity

            People

            Assignee:
            alin Alin Dreghiciu
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title