tbentleypfpt commented on pull request #137:
URL: https://github.com/apache/commons-compress/pull/137#issuecomment-690538513
> Sounds like tika needs to call the other constructor.
Well it goes through the ArchiveStreamFactory in commons-compress and there
is no way of passing in from tika whether we want to enable that feature or not
since it's specific to ZIP.
`@Override
public ArchiveInputStream createArchiveInputStream(final String
archiverName, final InputStream in,
final String actualEncoding) throws ArchiveException {
...
if (ZIP.equalsIgnoreCase(archiverName)) {
if (actualEncoding != null) {
return new ZipArchiveInputStream(in, actualEncoding);
}
return new ZipArchiveInputStream(in);
}
...`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]