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

[Patch] add support for AxCrypt file type detection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3, 1.4, 1.5
    • 1.7
    • detector, mime

    Description

      Please include the following mime declaration in tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml.
      It makes possible to detect AxCrypt file type with extension *.axx.

      <mime-info>
      	<mime-type type="application/x-axcrypt">
      		<glob pattern="*.axx" />
      		<magic priority="50">
      			<match value="\xc0\xb9\x07\x2e\x4f\x93\xf1\x46\xa0\x15\x79\x2c\xa1\xd9\xe8\x21\x15\x00\x00\x00\x02" type="string" offset="0" />
      		</magic>
      	</mime-type>
      </mime-info>
      

      The magic value is taken from the Aperture project:
      http://sourceforge.net/p/aperture/code/2493/tree/aperture/trunk/core/src/main/resources/org/semanticdesktop/aperture/mime/identifier/magic/mimetypes.xml#l1225

      Attachments

        Activity

          People

            Unassigned Unassigned
            fangebault Florent Angebault
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: