Skip to content

fix: actually use SessionMiddleware config#279

Merged
m4tx merged 2 commits into
masterfrom
fix-secure-session-cookie
Apr 8, 2025
Merged

fix: actually use SessionMiddleware config#279
m4tx merged 2 commits into
masterfrom
fix-secure-session-cookie

Conversation

@m4tx

@m4tx m4tx commented Apr 7, 2025

Copy link
Copy Markdown
Member

525c129 broke the SessionMiddleware in a way that it does no longer respects the secure option. This fixes the problem and adds a test to make sure it doesn't come back again.

525c129 broke the SessionMiddleware in a way that it does no longer
respects the `secure` option. This fixes the problem and adds a test to
make sure it doesn't come back again.
@m4tx m4tx requested a review from seqre April 7, 2025 20:51
@github-actions github-actions Bot added the C-lib Crate: cot (main library crate) label Apr 7, 2025
@codecov

codecov Bot commented Apr 7, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
rust 81.65% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cot/src/middleware.rs 83.58% <100.00%> (+3.40%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@m4tx m4tx merged commit c1087d0 into master Apr 8, 2025
@m4tx m4tx deleted the fix-secure-session-cookie branch April 8, 2025 12:31
@cotbot cotbot Bot mentioned this pull request Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-lib Crate: cot (main library crate)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants