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 ?
