-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve XML sanitization in advanced mode to fix broken entities.
Previously we'd only check if a candidate entity was properly terminated by a semicolon, which missed some broken XML we have in legacy projects. The check is now much more thorough and mimicks much of the process the parser itself does when parsing entities.
- Loading branch information
Showing
4 changed files
with
586 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.