Skip to content

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

Merged
rullzer merged 1 commit into
stable13from
backport/12284/stable13
Nov 13, 2018
Merged

[13] Properly search the root of a shared external storage#12376
rullzer merged 1 commit into
stable13from
backport/12284/stable13

Conversation

@rullzer

Copy link
Copy Markdown
Member

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>
@rullzerrullzer added the 3. to review Waiting for reviews label Nov 9, 2018
@rullzerrullzer added this to the Nextcloud 13.0.8 milestone Nov 9, 2018
@MorrisJobkeMorrisJobke mentioned this pull request Nov 13, 2018
@rullzer
rullzer merged commit b899964 into stable13Nov 13, 2018
@rullzer
rullzer deleted the backport/12284/stable13 branch November 13, 2018 14:59
@MorrisJobkeMorrisJobke mentioned this pull request Nov 22, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@icewind1991