Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/lib/sharedstorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index 0b08f39a60f..64a5cc41bf7 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -322,7 +322,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
$source = $this->getSourcePath($path);
if ($source) {
$info = array(
- 'target' => $this->getMountPoint() . $path,
+ 'target' => $this->getMountPoint() . '/' . $path,
'source' => $source,
);
\OCP\Util::emitHook('\OC\Files\Storage\Shared', 'file_get_contents', $info);
@@ -461,7 +461,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
}
}
$info = array(
- 'target' => $this->getMountPoint() . $path,
+ 'target' => $this->getMountPoint() . '/' . $path,
'source' => $source,
'mode' => $mode,
);