Damien Bories created TIKA-4782:
-----------------------------------
Summary: PDF detected as matlab file
Key: TIKA-4782
URL: https://issues.apache.org/jira/browse/TIKA-4782
Project: Tika
Issue Type: Bug
Affects Versions: 3.2.3
Reporter: Damien Bories
Attachments: tika-sees-pdf-as-matlab.pdf
Hello,
In a few cases within my organisation, we encounter PDF files that get detected
as matlab files. I attached an example of PDF file that gets detected wrongly
as matlab.
Tested with Tika 3.2.3
A similar issue was raised a few years ago : TIKA-3328
I checked the corresponding fix [TIKA-3328 -- make PDF detection a bit more
flexible · apache/tika@3381c73 ·
GitHub|https://github.com/apache/tika/commit/3381c7328875073300fb6fc6b0be850562977d60]
and if I had to take a guess, I'd say that in my case, the "metadata block"
starting with %% is longer than the 512 offset.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)