Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
org.apache.tika.sax.SecureContentHandler is used in org.apache.tika.parser.AutoDetectParser to protect from zip bombs. But all of settings like:
- threshold
- ratio
- maxDepth
- maxPackageEntryDepth
- ...
Are hardcoded into class fields. And it is impossible to disable or confugure such fields outside of org.apache.tika.parser.AutoDetectParser#parse() method.
Could you pleas add abilitty to change these configs (from porperty file for example) and way to disable zip bom detection?