Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3654

Add OfflineContentHandler to XMLReaderUtils.parseSAX

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      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().

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment