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
I have configured a cookie not to be encrypted in App\Http\Middleware\EncryptCookies middleware. This cookie is used in another middleware, along with other (normally encrypted) cookies.
When I'm testing the middleware, I can't access both types of cookies. Either I can access the unencrypted one (using disableCookieEncryption) or the encrypted one.
Steps To Reproduce:
Configure the cookie name plain not to be encrypted in App\Http\Middleware\EncryptCookies:
Description:
I have configured a cookie not to be encrypted in
App\Http\Middleware\EncryptCookies
middleware. This cookie is used in another middleware, along with other (normally encrypted) cookies.When I'm testing the middleware, I can't access both types of cookies. Either I can access the unencrypted one (using
disableCookieEncryption
) or the encrypted one.Steps To Reproduce:
Configure the cookie name
plain
not to be encrypted inApp\Http\Middleware\EncryptCookies
:With this test I can only access
plain
cookie (encrypted
isnull
):With this test I can only access
encrypted
cookie (plain
is the encrypted string value):The text was updated successfully, but these errors were encountered: