Skip to content

[14] Properly search the root of a shared external storage - #12375

Merged
MorrisJobke merged 1 commit into
stable14from
backport/12284/stable14
Nov 13, 2018
Merged

[14] Properly search the root of a shared external storage#12375
MorrisJobke merged 1 commit into
stable14from
backport/12284/stable14

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 14.0.4 milestone Nov 9, 2018
@MorrisJobkeMorrisJobke mentioned this pull request Nov 13, 2018
@MorrisJobke
MorrisJobke merged commit db9e1b9 into stable14Nov 13, 2018
@MorrisJobke
MorrisJobke deleted the backport/12284/stable14 branch November 13, 2018 14:09
@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@JanDragon