feat(html): enforce offline report CSP - #56
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe HTML formatter now emits a Content-Security-Policy meta tag. The test verifies restrictions for default sources, inline styles, data images, base URIs, and form actions. ChangesHTML Content Security Policy
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Feature Merge Risk: ⚪ Minimal · up to The report now emits the intended restrictive CSP, and the change is ready to merge after normal validation. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Part of #20
Validation
python3 -m pytest tests/test_html_formatter.py -qpython3 -m pytest -qgit diff --checkSummary by CodeRabbit
Security
Tests