[
https://issues.apache.org/jira/browse/TIKA-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison resolved TIKA-4257.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Please reopen if this is not fixed in 3.x
> Tika detect() recognizes some p7m files as format x-dbf
> -------------------------------------------------------
>
> Key: TIKA-4257
> URL: https://issues.apache.org/jira/browse/TIKA-4257
> Project: Tika
> Issue Type: Bug
> Components: detector
> Affects Versions: 2.9.2
> Reporter: Luca Bentivoglio
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: JUTestFileFormatDetectionTika.java, test.zip.p7m,
> test_firmato.zip.p7m
>
>
> Tika detect method sometimes recognizes p7m files as format application/x-dbf.
> In the attachment I leave a pair of specific examples
> test_firmato.zip.p7m that contains a zip containing a signed xml
> test.zip.p7m that contains a zip containing an unsigned xml
> I also attach a possible JUnit test with which the problem occurs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)