Tika users, I've run into a small issue with Tika's mime type repository.
TikaConfig config = new TikaConfig();
MimeType mimeType = config.getMimeRepository().forName("application/gzip");
When I call mimeType.getExtension(), the returned value is ".tgz". This is
fine when the underlying file is a tar, but if I gzip a plain text
document, ".tgz" is also returned. Is this expected behavior, bug, or
feature?
I'd prefer instead that it return ".gz", even if the underlying file is a
tar.
Cheers,
Adam
