dillon1000/react

Commit

Fix mistyped script arbitrary code execution vulnerability (#18660)

* add test to trustedTypes-test.internal.js

* fix mistyped script arbitrary code execution

* Removed redundant .toLowerCase() call

Co-authored-by: Brian Vaughn <[email protected]>
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/client/ReactDOMComponent.js ModifiedM packages/react-dom/src/client/__tests__/trustedTypes-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…