Skip to content

Commit

Permalink
bump poi's default zip max file count limit to accord w 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed Mar 23, 2024
1 parent 61e55b7 commit 0173c29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class OOXMLParser extends AbstractOfficeParser {
ZipSecureFile.setMinInflateRatio(-1.0d);
//bump this to a higher value than POI's default of 1000
//turn this back on with > 5.2.3
//ZipSecureFile.setMaxFileCount(10000);
ZipSecureFile.setMaxFileCount(10000);
}

public Set<MediaType> getSupportedTypes(ParseContext context) {
Expand Down

0 comments on commit 0173c29

Please sign in to comment.