[jira] [Commented] (TIKA-1997) Problem in Tika().detect for xml file signed in CADES

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-1997) Problem in Tika().detect for xml file signed in CADES

JIRA jira@apache.org

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

Chinh Nguyen commented on TIKA-1997:
------------------------------------

Currently, with tika 1.20, the attached pkcs7 file is detected as a DBF file:
  
 {quote}java -jar tika-app-1.20.jar -d test.xml.p7m
 application/x-dbf
{quote}

> 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)