From f166fbdd4669d3c3e4a57e6bf14cb4e514af03e3 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 13 Feb 2018 15:10:34 -0700 Subject: [PATCH] * Api - Fix sharing from mounted shares failed with 404 --- api/src/Vfs/Sharing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Vfs/Sharing.php b/api/src/Vfs/Sharing.php index 5487b159f8..153b77f48d 100644 --- a/api/src/Vfs/Sharing.php +++ b/api/src/Vfs/Sharing.php @@ -430,7 +430,7 @@ class Sharing if (($exists = ($stat = Vfs::stat($path)) && Vfs::check_access($path, Vfs::READABLE, $stat))) { - $vfs_path = Vfs::parse_url($stat['url'], PHP_URL_PATH); + $vfs_path = Vfs::parse_url($path, PHP_URL_PATH); } } // check if file exists and is readable