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

ensure id cycling invokes create #188

Merged
merged 1 commit into from
Mar 31, 2024
Merged

ensure id cycling invokes create #188

merged 1 commit into from
Mar 31, 2024

Conversation

maxcountryman
Copy link
Owner

This fixes a bug where calling cycle_id would invoke the session store save method rather than the create method.

Because cycling the session ID involves creating a new ID, this must follow the same semantics as normal session creation. Therefore prior to this fix session ID collision could occur through this vector.

This fixes a bug where calling `cycle_id` would invoke the session store
`save` method rather than the `create` method.

Because cycling the session ID involves creating a new ID, this must
follow the same semantics as normal session creation. Therefore prior
to this fix session ID collision could occur through this vector.
Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.49%. Comparing base (6ad8933) to head (c48f77c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #188   +/-   ##
=======================================
  Coverage   85.49%   85.49%           
=======================================
  Files           5        5           
  Lines         331      331           
=======================================
  Hits          283      283           
  Misses         48       48           

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

@maxcountryman maxcountryman merged commit a8ded49 into main Mar 31, 2024
7 checks passed
@maxcountryman maxcountryman deleted the cycle-id-collision branch March 31, 2024 23:24
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.

1 participant