Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate testing for XMLUtils factory methods #994

Merged
merged 5 commits into from
Nov 20, 2024

Conversation

dotasek
Copy link
Collaborator

@dotasek dotasek commented Nov 20, 2024

There are already helper methods in place in XMLUtils to address potential XXE vulnerabilities.

This PR uses the checkstyle plugin to disallow instantiation of those various factories anywhere except where they are called in XMLUtils.

Copy link
Contributor

@grahamegrieve grahamegrieve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@grahamegrieve grahamegrieve merged commit 2fcdd2e into master Nov 20, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants