I've sent the file to your private email.

On Wed, 28 Jun 2023 at 20:50, Tim Allison <[email protected]> wrote:

> That's not intended and is surprising. Are you able to share a triggering
> file with me either on our JIRA or sent to me privately?
>
> On Wed, Jun 28, 2023 at 2:47 PM Pontus Amberg <[email protected]>
> wrote:
>
>> I've just upgraded my dependency to 2.8.0 and the default behaviour of
>> Tika.detect(InpuStream stream, String name) seems to have changed
>> completely for ZIP archives.
>>
>> When detecting the media type of a ZIP archive using 2.7.0 I get
>> "application/zip" but when I do the same using 2.8.0 I seem to get the
>> media type of the file inside the archive.
>>
>> I have found that I can get the behaviour I expect by
>> excluding DefaultZipContainerDetector using a TikaConfig as described here
>> https://tika.apache.org/2.8.0/configuring.html
>>
>> Is the current default behaviour of Tika.detect() for ZIP archives really
>> correct ?
>>
>

Reply via email to