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

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.8.1, 3.0.0-m1
    • 2.8
    • Maven
    • None
    • 2
    • 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

            alin Alin Dreghiciu
            rseddon Rich Seddon
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              tigCommentSecurity.panel-title