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

Support detecting 7-zip format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.2
    • mime

    Description

      Tika now detects 7-zip archive as application/octect-stream.
      Adding this fragment in tika-mimetypes.xml registry Tika mime magic detector will correctly recognize 7z files:

      <mime-type type="application/x-7z-compressed">
      <acronym>7zip</acronym>
      <_comment>7-zip archive</_comment>
      <magic priority="50">
      <!-- Magic: '7', 'z', 0xBC, 0xAF, 0x27, 0x1C -->
      <match value="7z" type="string" offset="0:1" >
      <match value="0xBCAF271C" type="string" offset="2:5" />
      </match>
      </magic>
      <glob pattern="*.7z" />
      </mime-type>

      Attachments

        Activity

          People

            Unassigned Unassigned
            101000 Marco Quaranta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: