Merge pull request #4999 from nextcloud/fix-for-sharing-stable-11

fix for sharing stable 11
This commit is contained in:
Morris Jobke 2017-05-20 17:08:24 -05:00 committed by GitHub
commit 9a36d141dc
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,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);