Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ensure expires session #149

Merged
merged 2 commits into from
Jan 27, 2024
Merged

ensure expires session #149

merged 2 commits into from
Jan 27, 2024

Conversation

maxcountryman
Copy link
Owner

Here we manually check the configured session expiry to ensure that we account for Expires: Session.

This follows the Django implementation.

See: https://github.com/django/django/blob/9c6d7b4a678b7bbc6a1a14420f686162ba9016f5/django/contrib/sessions/middleware.py#L48-L49

Here we manually check the configured session expiry to ensure that we
account for `Expires: Session`.

This follows the Django implementation.

See: https://github.com/django/django/blob/9c6d7b4a678b7bbc6a1a14420f686162ba9016f5/django/contrib/sessions/middleware.py#L48-L49
Copy link

codecov bot commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c3cd956) 69.45% compared to head (a0e7226) 69.56%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   69.45%   69.56%   +0.11%     
==========================================
  Files           5        5              
  Lines         275      276       +1     
==========================================
+ Hits          191      192       +1     
  Misses         84       84              

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

@maxcountryman maxcountryman merged commit 518c5ba into main Jan 27, 2024
7 checks passed
@maxcountryman maxcountryman deleted the expires-session branch January 27, 2024 17:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant