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

updating html sanitization method to dompurify #172

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

mohammadualam
Copy link
Contributor

Our standard way of sanitizing HTML is using dompurify. we want to stay consistent across our code for that and this update changes over the sanitization to dompurify.

@mohammadualam mohammadualam marked this pull request as draft July 10, 2024 20:40
@mohammadualam mohammadualam self-assigned this Jul 11, 2024
Copy link
Member

@keegancsmith keegancsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @sqs who wrote this code originally. I see in the biome justification that the html values are not from users, so this may be unnecessary?

@keegancsmith
Copy link
Member

Your CI failures are super weird, its almost like the github workflow's code changed for npm and is now broken. I think to sort it out we should try bumping the versions of the workflows used.

@keegancsmith
Copy link
Member

Gonna see if this fixes the problem #174

@BolajiOlajide BolajiOlajide force-pushed the mua/html-sanitization-update branch from d5f20d2 to 265c5ec Compare July 31, 2024 13:20
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.

3 participants