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

Enable auto-escaping in comments and faults #139

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

berk76
Copy link
Member

@berk76 berk76 commented Jan 11, 2025

No description provided.

@berk76 berk76 marked this pull request as ready for review January 11, 2025 23:52
Copy link

sonarqubecloud bot commented Jan 11, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@SukiCZ
Copy link
Collaborator

SukiCZ commented Jan 12, 2025

Another approach would be not to store unsafe html in the first place, using django.utils.html.escape.

Both options are fine I guess

@berk76 berk76 merged commit 796e5a3 into master Jan 12, 2025
9 checks passed
@berk76 berk76 deleted the fix/enable-auto-escaping-in-comments-and-faults branch January 12, 2025 19:15
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