diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/OOXMLParser.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/OOXMLParser.java index dea748b7e2..f365dc94f8 100644 --- a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/OOXMLParser.java +++ b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/OOXMLParser.java @@ -101,6 +101,8 @@ public class OOXMLParser extends AbstractOfficeParser { static { //turn off POI's zip bomb detection because we have our own ZipSecureFile.setMinInflateRatio(-1.0d); + //bump this to a higher value than POI's default of 1000 + ZipSecureFile.setMaxFileCount(10000); } public Set getSupportedTypes(ParseContext context) {