Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML Reporter: Fix encoding of label for urlConfig multi-value item
Cherry-picked from de3a37d (3.0.0-dev) > When QUnit.config.urlConfig is used to create a multi-value option > (rather than string, as is more common), then `val.label` was not > escaped, which meant that if labels were to contain mention of an > HTML tag or otherwise contain "<" and ">", > these could glitch and break part of the toolbar rendering. > This is unlikely to be exploitable, e.g. not controlled by > URL parameters, and generally populated with literals. Even dynamic > menus that feed dropdown contents from external input are fine, > since this affects the top-level label only.
- Loading branch information