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

[stable26] fix(LDAP): ensure stored groups are formatted as simple list #42448

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #42405

With array_unique it is possible that the keys are not in sequential order
but have gaps. json_encode then would store them as associative array,
which later on json_decode would result in a stdClass by default. This is
unexpected and would also contradict the return type hint.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@artonge artonge force-pushed the backport/42405/stable26 branch from 7e5da8b to 1d1d5e1 Compare January 2, 2024 11:15
@artonge artonge enabled auto-merge January 2, 2024 11:29
@artonge artonge merged commit 6169753 into stable26 Jan 2, 2024
37 checks passed
@artonge artonge deleted the backport/42405/stable26 branch January 2, 2024 12:21
@blizzz blizzz mentioned this pull request Jan 15, 2024
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.

3 participants