Skip to content

Conversation

@juliusknorr
Copy link
Member

Fix fixes an issue encountered with #16932

To reproduce, try to create a file in the root of a group folder with a rule setup in files_accesscontrol

The issue when creating a directory in the root of a group folder is that the path is not ending with a /, therefore the check for the matching root path (which is always ending with a / due to the rtrim is failing.

So this makes sure the jailed path is returned properly then:
image

@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Sep 4, 2019
@juliusknorr juliusknorr force-pushed the bugfix/noid/getJailedPath-root branch from eb62bc7 to 64fe9bc Compare September 4, 2019 11:25
@rullzer rullzer merged commit 30d00e6 into master Sep 4, 2019
@rullzer rullzer deleted the bugfix/noid/getJailedPath-root branch September 4, 2019 18:52
@rullzer rullzer added this to the Nextcloud 17 milestone Sep 4, 2019
@rullzer rullzer mentioned this pull request Sep 4, 2019
16 tasks
@juliusknorr
Copy link
Member Author

/backport to stable16

@juliusknorr
Copy link
Member Author

/backport to stable15

@backportbot-nextcloud
Copy link

backport to stable16 in #17012

@backportbot-nextcloud
Copy link

backport to stable15 in #17013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants