]> source.dussan.org Git - nextcloud-server.git/commit
Properly search the root of a shared external storage 12284/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 5 Nov 2018 15:27:43 +0000 (16:27 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 5 Nov 2018 15:27:43 +0000 (16:27 +0100)
commit0277cd7158fe8460268188a8c05cd839b53a1d20
tree191833d276a47801d897278369beaf8d54f6db1c
parent9ea65734162191b3222ea9f6e265380ea5175f3a
Properly search the root of a shared external storage

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>
lib/private/Files/Cache/Wrapper/CacheJail.php