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

content validation fails for valid rar file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.1, 2.11.4, 3.4.0, 2.14.15
    • Fix Version/s: 3.14.0
    • Component/s: Repository
    • Labels:
      None

      Description

      Create a proxy repo to https://repository.jboss.org/nexus/content/groups/public-jboss/

      Request the following file:

      http://localhost:8081/nexus/content/repositories/jboss/org/jboss/genericjms/generic-jms-ra/1.0.7.Final/generic-jms-ra-1.0.7.Final.rar

      Nexus blocks this apparently valid rar file and should not.

      jvm 1    | 2015-01-14 09:36:21,248-0400 INFO  [qtp458034284-62] admin org.sonatype.nexus.proxy.maven.MavenFileTypeValidator - StorageFileItem jboss:/org/jboss/genericjms/generic-jms-ra/1.0.7.Final/generic-jms-ra-1.0.7.Final.rar MIME-magic validation failed: expected MIME types: [application/java-archive], detected MIME types: [application/zip, application/octet-stream]
      jvm 1    | 2015-01-14 09:36:21,249-0400 INFO  [qtp458034284-62] admin org.sonatype.nexus.proxy.repository.validator.DefaultFileTypeValidatorHub - File item jboss:/org/jboss/genericjms/generic-jms-ra/1.0.7.Final/generic-jms-ra-1.0.7.Final.rar evaluated as INVALID during file type validation (validator=maven)
      jvm 1    | 2015-01-14 09:36:21,249-0400 INFO  [qtp458034284-62] admin org.sonatype.nexus.proxy.maven.maven2.M2Repository - Proxied item jboss:/org/jboss/genericjms/generic-jms-ra/1.0.7.Final/generic-jms-ra-1.0.7.Final.rar evaluated as INVALID during content validation (validator=filetypevalidator, sourceUrl=https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/genericjms/generic-jms-ra/1.0.7.Final/generic-jms-ra-1.0.7.Final.rar)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              natemcafee Nate McAfee [X] (Inactive)
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              NXRM - Cypher
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title