Moderator
Issue: https://github.com/appwrite/console/issues/3125
PR: https://github.com/appwrite/console/pull/3126
Votes
0
Replies
7
Participants
3
Messages
8
Moderator
Issue: https://github.com/appwrite/console/issues/3125
PR: https://github.com/appwrite/console/pull/3126
@Bret lets try address greptile comments first
Moderator
I think that since the backend returns this kind of content directly, this issue shouldn't arise.
One solution I’ve thought of is to introduce https://github.com/cure53/dompurify.
hmm right, dont think its much of an issue here,
looks good to me
cc @Harsh can you give pr a final review?
Moderator
I gave it some thought: since this change directly modifies modal.svelte—and certain modals might involve dynamic elements like filenames—I decided to use the lightweight library DOMPurify to ensure security. Additionally, I fixed some formatting issues (which were causing the build action to fail).
Left a few comments.
Moderator
Fixed & Replied
