-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commits add sanitization using for comments summary and content using DOMPurify. To test it, I faked the response of `/api/comments/byepisodeid` with a hard coded json file containing in the content of comments some examples from the section "Some purification samples please?". References: - https://www.npmjs.com/package/dompurify
- Loading branch information
1 parent
f2037c2
commit 07207d2
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters