[ 
https://issues.apache.org/jira/browse/TIKA-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087613#comment-15087613
 ] 

Nick Burch commented on TIKA-1821:
----------------------------------

Hopefully fixed in r1723581 - the length is part of the initial magic 
(effectively), but we weren't handling all the combinations, and our unit test 
only did the shortest possible one

I'm reluctant to add your test file to SVN, as it's a little large. Any chance 
you could create a slightly smaller test file for us to use?

> Problem in Tika().detect for xml file signed in CADES
> -----------------------------------------------------
>
>                 Key: TIKA-1821
>                 URL: https://issues.apache.org/jira/browse/TIKA-1821
>             Project: Tika
>          Issue Type: Bug
>          Components: detector
>    Affects Versions: 1.8
>            Reporter: Alessandro De Angelis
>         Attachments: test-tika-error.xml.p7m
>
>
> We have a xml file with base64 attachment signed with CADES signature. 
> In this case TIKA recognize the resulted file mime type as "text/plain" and 
> not "application/pkcs7-signature" as we expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to