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

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

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 enabled auto-merge January 2, 2024 11:29
@artonge artonge merged commit f0c78b7 into stable28 Jan 2, 2024
50 checks passed
@artonge artonge deleted the backport/42405/stable28 branch January 2, 2024 12:26
@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.

None yet

3 participants