diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-10-12 17:34:51 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 21:41:51 +0200 |
commit | e46741cf5d222088cc20256462a6d93f85ac27c5 (patch) | |
tree | 49aebdd1f60e087a6bc8afefc6deed0728255b7b /lib/private/share | |
parent | e7f75484f87df41be5ef8dedce670bd2ccd12dc2 (diff) | |
download | nextcloud-server-e46741cf5d222088cc20256462a6d93f85ac27c5.tar.gz nextcloud-server-e46741cf5d222088cc20256462a6d93f85ac27c5.zip |
detect object homestorage in share code
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/share.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index f2ba33bd16b..b015d7738b5 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2636,7 +2636,9 @@ class Share extends Constants { */ private static function isFileReachable($path, $ownerStorageId) { // if outside the home storage, file is always considered reachable - if (!(substr($ownerStorageId, 0, 6) === 'home::')) { + if (!(substr($ownerStorageId, 0, 6) === 'home::' || + substr($ownerStorageId, 0, 13) === 'object::user:' + )) { return true; } |