[ 
https://issues.apache.org/jira/browse/TIKA-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018852#comment-18018852
 ] 

Tim Allison commented on TIKA-4471:
-----------------------------------

Ha. Looks like jdk11 didn't respect 
\{{factory.setExpandEntityReferences(false);}} and backed off to the "max 
expansions=20".

I made the same fix in main and branch_3x even though this should only happen 
in jdk11 (branch_3x) just so that the unit tests would be the same in both 
branches.

ref: 
https://github.com/apache/tika/commit/2c7caa7517442c4f4e9a7a7629d71f24962fb240

> Add unit tests for XMLReaderUtil to confirm secure configurations
> -----------------------------------------------------------------
>
>                 Key: TIKA-4471
>                 URL: https://issues.apache.org/jira/browse/TIKA-4471
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 4.0.0, 3.3.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to