Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #111 carefully escape tag names
A regression of #56 occurred in which the use of ToLower allowed a Cyrillic upper-case I to be sanitised to a standard ASCII i and this would then permit SCRIPT tags to be injected.
- Loading branch information
Showing
2 changed files
with
66 additions
and
4 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