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

fix: roll out bluemonday Sanitize more widely #3794

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

dave-gray101
Copy link
Collaborator

@dave-gray101 dave-gray101 commented Oct 12, 2024

LocalAI already makes use of bluemonday for html sanitization. This PR implements that safety step in more places. Please let me know if any have been missed.

The fix to .github/ci/modelslist.go needs to be tested via this PR, but the other sanitizations seem to work according to my local testing. CI Step Passed 🍾

@dave-gray101 dave-gray101 enabled auto-merge (squash) October 12, 2024 02:16
Copy link

netlify bot commented Oct 12, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit ac9b6f3
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/6709dbf1fa0da000082b03fd
😎 Deploy Preview https://deploy-preview-3794--localai.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.

@dave-gray101 dave-gray101 merged commit a1634b2 into mudler:master Oct 12, 2024
30 checks passed
@mudler mudler added the enhancement New feature or request label Oct 12, 2024
@dave-gray101 dave-gray101 deleted the fix-sanitize-1 branch October 12, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants