-
Notifications
You must be signed in to change notification settings - Fork 685
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
Update index.js sanetize DOM Text Interpreted As HTML #4361
base: develop
Are you sure you want to change the base?
Conversation
Hii @glo82145 Team Could You Please Review This PR |
If your PR is missing information, check against the original template here. At a minimum you must have the section headers from the template and provide some information in each section. |
Hii @engcom-Hotel @engcom-Charlie Could Team Please Review This PR also if possible |
Hello @glo42707, we request you to please look into this PR. |
Hii @glo82145 I had updated Dependencies here also Could You please Review this |
Hii @engcom-Hotel @engcom-Charlie Could Team Please ping Reviewers again |
Please run command 'yarn run prettier venia-integration-tests/src/fixtures/googleMapApi/index.js' on your local and commit the changes. There is a prettier fail with this file. |
Hii @glo82145 |
Hii @glo82145 Thanks For Reviewing |
Description
Sanitize HTML content using DOMPurify before returning it in richContent. This ensures safe rendering of potentially untrusted HTML, protecting against XSS attacks. The innerHTML of the first child node is sanitized before being returned, improving security.