Merge pull request #4998 from nextcloud/fix-for-sharing-stable-12

fix for sharing stable12
This commit is contained in:
Morris Jobke 2017-05-20 17:03:52 -05:00 committed by GitHub
commit 394023949e
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);