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

[13] Properly search the root of a shared external storage #12376

Merged
merged 1 commit into from
Nov 13, 2018

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Nov 9, 2018

Backport of #12284

Fixes #1020

When an external storage is shared with you in full the root is ''
(empty). This adds an extra check for an empty jail basically.

Because if the jail is on the empty string. It matches all paths.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added the 3. to review Waiting for reviews label Nov 9, 2018
@rullzer rullzer added this to the Nextcloud 13.0.8 milestone Nov 9, 2018
@MorrisJobke MorrisJobke mentioned this pull request Nov 13, 2018
@rullzer rullzer merged commit b899964 into stable13 Nov 13, 2018
@rullzer rullzer deleted the backport/12284/stable13 branch November 13, 2018 14:59
@MorrisJobke MorrisJobke mentioned this pull request Nov 22, 2018
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants