Skip to content

Conversation

@miguelgrinberg
Copy link
Owner

@miguelgrinberg miguelgrinberg commented Dec 19, 2025

Fixes #321

CSRF protection based on the Sec-Fetch-Site and Origin headers sent by browsers.

@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (053b8a8) to head (623e567).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #335   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        16    +1     
  Lines         1607      1653   +46     
  Branches       288       299   +11     
=========================================
+ Hits          1607      1653   +46     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@miguelgrinberg miguelgrinberg force-pushed the csrfnew branch 2 times, most recently from 8bec0ed to 756dff7 Compare December 20, 2025 00:03
@miguelgrinberg miguelgrinberg merged commit 0bae4c9 into main Dec 20, 2025
26 checks passed
@miguelgrinberg miguelgrinberg deleted the csrfnew branch December 20, 2025 19:43
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.

can add a csrf extension?

2 participants