Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Trusted Types Sink violation with empty input and NAMESPACE #748

Merged
merged 2 commits into from Dec 20, 2022

Conversation

tosmolka
Copy link
Contributor

Use TrustedHTML instead of raw string when assigning empty string to Element.innerHTML sink. This should fix #747 .

@cure53
Copy link
Owner

cure53 commented Dec 20, 2022

This looks great, thank you!

@cure53 cure53 merged commit 24d2a7f into cure53:main Dec 20, 2022
@tosmolka tosmolka deleted the tosmolka/747 branch December 21, 2022 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trusted Types Sink violation with empty input and NAMESPACE
2 participants