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

Roberto Benedetti edited comment on TIKA-1997 at 4/18/19 3:10 PM:
------------------------------------------------------------------

I think your problem is that {{application/x-dbf }} has a higher priority than 
{{application/pkcs7-signature}} and the regular expression of that mime type 
accidentally matches your file.

 


was (Author: roberto.benedetti):
I think your problem is that {{application/x-dbf }} has a higher priority than 
{{application/pkcs7-signature}} and the regular expression with that mime type 
accidentally matches your file.

 

> Problem in Tika().detect for xml file signed in CADES
> -----------------------------------------------------
>
>                 Key: TIKA-1997
>                 URL: https://issues.apache.org/jira/browse/TIKA-1997
>             Project: Tika
>          Issue Type: Sub-task
>          Components: detector
>    Affects Versions: 1.13
>         Environment: JDK 1.7
>            Reporter: Michele Andreano
>            Priority: Blocker
>         Attachments: test.xml.p7m
>
>
> When I submit a tika a xml file signed in P7M format, I expect tika return as 
> mimetype application / pkcs7-mime instead gives me application / 
> pkcs7-signature.
> How is it possible?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to