-
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: clear session cookie if new session gt CHUNK_SIZE (#3446)
* fix: clear session cookie if new session gt CHUNK_SIZE Fix an issue where the connection session cookie is not cleared if the response session is stored across multiple cookies. Closes #3441 * Update litestar/middleware/session/client_side.py Co-authored-by: Jacob Coffee <[email protected]> * refactor: use dataclass utils to iterate over Cookie fields --------- Co-authored-by: Jacob Coffee <[email protected]>
- Loading branch information
1 parent
f06e951
commit 0670551
Showing
2 changed files
with
64 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters