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

fix(ACLPlugin): Fix PROPFIND acl-list when rules are empty #3307

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

provokateurin
Copy link
Member

If the rules are empty array_pop() will return null which wasn't allowed and lead to an internal server error (which was also not handled properly in the frontend but that is a different problem).

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin added this to the Nextcloud 31 milestone Sep 30, 2024
@provokateurin provokateurin added bug 3. to review Items that need to be reviewed labels Sep 30, 2024
@provokateurin provokateurin merged commit 805b30a into master Oct 3, 2024
43 checks passed
@provokateurin provokateurin deleted the fix/aclplugin/empty-rules branch October 3, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Items that need to be reviewed bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants