Luca Bentivoglio created TIKA-4257:
--------------------------------------

             Summary: Riconoscimento file p7m
                 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
         Attachments: JUTestFileFormatDetectionTika.java, test.zip.p7m, 
test_firmato.zip.p7m

Il metodo detect di Tika talvolta riconosce i file p7m come formato x-dbf.

Lascio in allegato un paio di esempi specifici:
test_firmato.zip.p7m contiene uno zip contenente un xml firmato
test.zip.p7m contiene uno zip contenente un xml non firmato

Allego inoltre un possibile JUnit test con il quale si verifica il problema.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to