-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support Trusted Types #1575
Comments
@wuweiweiwu, could you take a look at #1614 or #1608 to fix this issue? We are having deployment issue due to this bug. Thanks! |
shhnjk
added a commit
that referenced
this issue
Dec 9, 2020
…ElementResize.js (#1614) * Create Trusted Type policy for assigning an HTML Co-authored-by: Jun Kokatsu <Jun.Kokatsu@microsoft.com>
@wuweiweiwu could you create a new v9.22.3 release with dfc1190? |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Bug Report
When Trusted Types is enabled on a website, following lines causes Trusted Types violation due to string assignment to a dangerous sink (i.e. innerHTML).
react-virtualized/source/vendor/detectElementResize.js
Lines 185 to 187 in aef3918
This can be prevented by changing those lines to something like:
OR
Note that React already supports Trusted Types.
The text was updated successfully, but these errors were encountered: