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

Fix violations of Sonar rule 2755 #619

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

slarse
Copy link
Contributor

@slarse slarse commented Nov 25, 2020

Hi,

This PR fixes violations of Sonar rule 2755: "XML parsers should not be vulnerable to XXE attacks". It's related to issue #317.

  • Violations before PR: 4
  • Violations after PR: 0

The patch was generated automatically with the tool Sorald. For details on the fix applied here, please see Sorald's documentation on rule 2755.

Ps. I'm not a bot, so please do treat this like any other PR in regards to providing feedback :)

@robstryker
Copy link
Collaborator

Seems reasonable enough. I don't think these classes use any external schema or validation so shouldn't have any negative effect.

@robstryker robstryker merged commit e66855e into redhat-developer:master Nov 30, 2020
@slarse
Copy link
Contributor Author

slarse commented Dec 2, 2020

Great! I'll probably be back with more automated fixes as we keep developing Sorald. Thanks for taking the time to review and merge the PR.

@slarse slarse deleted the issue317 branch December 2, 2021 17:27
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.

2 participants