Skip to content

Requested Xxe examples#14

Open
JoeBeeContrast wants to merge 2 commits intodavewichers:masterfrom
JoeBeeContrast:xxe-examples
Open

Requested Xxe examples#14
JoeBeeContrast wants to merge 2 commits intodavewichers:masterfrom
JoeBeeContrast:xxe-examples

Conversation

@JoeBeeContrast
Copy link
Copy Markdown

Added the requested XXE examples of

  • External DTD Disabled
  • External DTD Disabled using Parameter
  • SaxParser DTD Disabled
  • SaxParser DTD Disabled using Parameter
  • JAXB Unsafe SaxSource

… the test and only pass on expected exceptions like a SecurityException thrown by Protect.

Also removed duplicate code as per the feedback and added the other route to the exiting class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant