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
bug #41737 [Security] Fix special char used to create cache key (jderusse)
This PR was merged into the 5.3 branch.
Discussion
----------
[Security] Fix special char used to create cache key
| Q | A
| ------------- | ---
| Branch? | 5.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
The remember Me token's `series` property might contains special chars: because it has been generated with `$series = base64_encode(random_bytes(64));`.
When using this identifier to create cache items, users get Exception `Cache key "foo+bar/baz==" contains reserved characters "{}()/\@:".`
This PR sanitize the property before using it as cache key
Commits
-------
fc9e9ff7a1 Fix special char used to create cache key
0 commit comments