tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TIKA-940) Support detecting 7-zip format
Date Thu, 21 Jun 2012 17:21:42 GMT

     [ https://issues.apache.org/jira/browse/TIKA-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nick Burch resolved TIKA-940.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Thanks, mime magic added (along with a unit test) in r1352628.
                
> Support detecting 7-zip format
> ------------------------------
>
>                 Key: TIKA-940
>                 URL: https://issues.apache.org/jira/browse/TIKA-940
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>    Affects Versions: 1.1
>            Reporter: Marco Quaranta
>            Priority: Minor
>              Labels: 7z, 7zip, detection, mime
>             Fix For: 1.2
>
>
> 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>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message