You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(litestar): Copy request info to prevent cookies mutation (#4883)
Prevent mutating cookies on incoming HTTP requests if the cookie name is
in the scrubbers denylist.
Cookies like `token=...` were replaced with `AnnotatedValue` because a
shallow reference of the request information was held by the client. A
deep copy is introduced so scrubbing does not interfere with Litestar,
and in particular does not break `JWTCookieAuth`.
Closes#4882
---------
Co-authored-by: Ivana Kellyer <[email protected]>
0 commit comments