Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Normalize array of key names before converting to string #923

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

stayallive
Copy link
Collaborator

As reported in #916, when retrieving multiple keys we could try and convert the values to a string for the keys instead of the actual keys. This was an oversight and is fixed by copying a bit from Laravel core to our codebase to correctly resolve the keys to an array of strings.

See: https://github.com/laravel/framework/blob/96712ba63e37b54ee8d0738eb613e13c9aff522f/src/Illuminate/Cache/Repository.php#L124-L126

@cleptric cleptric merged commit abf561e into master Jul 17, 2024
25 checks passed
@cleptric cleptric deleted the cache-fixes branch July 17, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants