tballison commented on PR #1963:
URL: https://github.com/apache/tika/pull/1963#issuecomment-2368463762

   Aren't the magic bits at 4096 important for jnilib? Or what is the 
difference between what we were detecting as `x-java-jnilib` and mach-O and its 
variants?
   
   ```
     <mime-type type="application/x-java-jnilib">
       <_comment>Java Native Library for OSX</_comment>
       <magic priority="50">
         <match value="0xcafebabe" type="string" offset="0">
           <match value="0xfeedface" type="string" offset="4096"/>
           <match value="0xfeedfacf" type="string" offset="4096"/>
           <match value="0xcefaedfe" type="string" offset="4096"/>
           <match value="0xcffaedfe" type="string" offset="4096"/>
         </match>
       </magic>
       <glob pattern="*.jnilib"/>
     </mime-type>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tika.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to