davsclaus opened a new pull request, #30181:
URL: https://github.com/apache/camel/pull/30181

   ## Backport of #25594
   
   Backport of #25594 (CAMEL-24416: camel-core - align the XmlConverter SAX 
factory with the DOM factory on external resources) onto `camel-4.22.x`.
   
   **Original PR:** #25594, merged on main as 3defc689649d
   **Original author:** Andrea Cosentino
   **Target branch:** `camel-4.22.x`
   
   `XmlConverter.createSAXParserFactory()` now also sets 
`external-parameter-entities=false` and `load-external-dtd=false`, the same as 
on main. Before, it set only `FEATURE_SECURE_PROCESSING` and 
`external-general-entities=false`. This SAX factory also backs the secure 
`XMLReader` that the CAMEL-26498 backports (#30157, #30158) use when stream 
caching a `SAXSource`.
   
   This is a straight cherry-pick: the `XmlConverter` change and the new 
`SaxParserFactoryHardeningTest` are identical to main. The only part left out 
is the 4_23 upgrade-guide hunk; the upgrade-guide notes for 4.22.x are on main 
in #30180.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to