Merge pull request #4997 from nextcloud/federated-share-fix

fix for sharing
This commit is contained in:
Morris Jobke 2017-05-20 17:01:15 -05:00 committed by GitHub
commit 2dbd389bdb
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ class Manager {
$share = $this->getShare($id);
if ($share) {
\OC_Util::setupFS($this->uid);
$mountPoint = Files::buildNotExistingFileName('/', $share['name']);
$mountPoint = Filesystem::normalizePath('/' . $mountPoint);
$hash = md5($mountPoint);