]> source.dussan.org Git - nextcloud-server.git/commitdiff
Create proper target path for shared storage fopen event 22902/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 17 Sep 2020 07:52:31 +0000 (09:52 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 17 Sep 2020 07:52:31 +0000 (09:52 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/files_sharing/lib/SharedStorage.php

index 1735cab43f6142543280ab80b0c287ab83649df0..eb9d7cfc553edac8868f17ef2e22f8a029476670 100644 (file)
@@ -286,7 +286,7 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
                                }
                }
                $info = [
-                       'target' => $this->getMountPoint() . $path,
+                       'target' => $this->getMountPoint() . '/' . $path,
                        'source' => $source,
                        'mode' => $mode,
                ];