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

Tika reports the content type of AR archives as "text/plain"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.1
    • None
    • None
    • Linux (CentOS 5.6)

    Description

      The Tika.detect(InputStream) method returns "text/plain" for AR archives created with the Linux "Create Archive" option of Nautilus (available via right-clicking on a file).

      The Apache Commons Compress "autodetection" code of the ArchiveStreamFactory looks at the first 12 bytes of the stream and correctly identifies the type as AR.

      Attachments

        1. tika-697.diff
          0.7 kB
          Alex Ott

        Activity

          People

            Unassigned Unassigned
            pns PNS
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: