Skip to content

Commit

Permalink
revert POI in prep for 2.9.1 release process
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed Oct 17, 2023
1 parent c3b2bd7 commit aaf7b5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tika-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
<pax.exam.version>4.13.5</pax.exam.version>
<pdfbox.version>2.0.29</pdfbox.version>
<!-- NOTE: sync tukaani version with commons-compress in tika-parsers -->
<poi.version>5.2.4</poi.version>
<poi.version>5.2.3</poi.version>
<quartz.version>2.3.2</quartz.version>
<reactor.netty.version>1.1.12</reactor.netty.version>
<rome.version>2.1.0</rome.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public class OOXMLParser extends AbstractOfficeParser {
//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);
//turn this back on with > 5.2.3
//ZipSecureFile.setMaxFileCount(10000);
}

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

0 comments on commit aaf7b5f

Please sign in to comment.