-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename escapeInnerText to escapeText and include singe quotes and double quotes. * Consistent use of `bool="bool"` instead of `bool`. * Add regression tests for unescaped names in module, test and assertion. * Escape everything that does not explicitly support HTML (even urlConfig.id for example). In DOM methods text is default and HTML needs parsing. But when writing HTML it is the opposite: text needs escaping and html is default. So for security we need to reverse that and ensure we're escaping stuff by default. * Rename Test..name to Test..nameHtml (because it is).
- Loading branch information
Showing
2 changed files
with
70 additions
and
26 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