Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2409

Tar has different mime type by name vs contents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • mime
    • None

    Description

      TestMimeTypes.java#L360 has the following:

      assertTypeByName("application/x-tar",  "test.tar");
      assertTypeByData("application/x-gtar",  "test-documents.tar"); // GNU TAR
      

      The tar extension is detected as a application/x-tar by name, but a application-x-gtar by contents. This doesn't seem to match up.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cpeters Collin Peters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: