From 475fc869f508036d3a18e2c587b28c1a442b5e78 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 12 Oct 2022 11:45:05 -0600 Subject: [PATCH] Fix share link to single file If it's mounted to root, we should serve root --- api/src/Sharing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Sharing.php b/api/src/Sharing.php index 9ab267c2a7..87e2407a81 100644 --- a/api/src/Sharing.php +++ b/api/src/Sharing.php @@ -562,7 +562,7 @@ class Sharing Vfs::clearstatcache(); $webdav_server = new Vfs\WebDAV(); - $webdav_server->ServeRequest(Vfs::concat('/', $this->share['share_token'])); + $webdav_server->ServeRequest('/'); return; } return $this->get_ui();