Tim Allison created TIKA-3654:
---------------------------------

             Summary: Add OfflineContentHandler to XMLReaderUtils.parseSAX
                 Key: TIKA-3654
                 URL: https://issues.apache.org/jira/browse/TIKA-3654
             Project: Tika
          Issue Type: Improvement
            Reporter: Tim Allison


The OfflineContentHandler is another layer of protection against external 
entity vulnerabilities.  Parsers are responsible for adding it before calling 
XMLReaderUtils.parseSAX().  When new parsers come it, devs may not know to add 
this extra layer.  Let's modify the code in 2.x at least to add the offline 
contenthandler automatically in XMLReaderUtils.parseSAX().



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to