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

disable mime type validation by default for RAW proxy repos

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: Raw
    • Labels:
      None

      Description

      Create a RAW proxy to

      https://repo.saltstack.com/yum/redhat/7/x86_64/latest/

      Then try to proxy http://localhost:8081/repository/raw-proxy/SALTSTACK-GPG-KEY.pub

      Mime detection fails for this file with:

      Detected content type [text/plain], but expected [application/x-mspublisher]: SALTSTACK-GPG-KEY.pub

      The file contents are not x-mpublisher - pub is a common extension for public key files, like in this case - see attached for a copy of that file at time of reporting this issue.

      Expected

      • RAW proxy repos by default should have mime detection disabled?
      • fix this mime detection

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Joe Tom
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title