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

sanitize #5943

Merged
merged 7 commits into from
Apr 14, 2025
Merged

sanitize #5943

merged 7 commits into from
Apr 14, 2025

Conversation

STetsing
Copy link
Collaborator

@STetsing STetsing commented Apr 9, 2025

fixes what the following code does <img src=x onerror=alert(document.domain)> ?

@STetsing STetsing requested a review from yann300 April 9, 2025 13:51
Copy link

netlify bot commented Apr 9, 2025

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit d36c09d
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/67fcd9c1368ab20008b2c657
😎 Deploy Preview https://deploy-preview-5943--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@Aniket-Engg Aniket-Engg left a comment

Choose a reason for hiding this comment

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

I think you need to add dompurify as a direct dependency in package.json too.

Also fix the linting please

@@ -9,6 +9,7 @@ import './color.css'
import '@nlux/themes/unstyled.css';
import copy from 'copy-to-clipboard'


Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this

@Aniket-Engg Aniket-Engg force-pushed the sanitize_chat_input branch from 85fc147 to 1b8ce1c Compare April 14, 2025 08:49
Copy link
Collaborator

@Aniket-Engg Aniket-Engg left a comment

Choose a reason for hiding this comment

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

LGTM

@Aniket-Engg Aniket-Engg merged commit 9ad62cd into master Apr 14, 2025
34 checks passed
@Aniket-Engg Aniket-Engg deleted the sanitize_chat_input branch April 14, 2025 11:03
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.

2 participants