From f28d933acc2d97021c69be79c7f2238cbaac419f Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Wed, 17 Jul 2024 16:48:47 +0200 Subject: feat(files_sharing): add public name prompt for files requests Signed-off-by: skjnldsv --- apps/dav/appinfo/v1/publicwebdav.php | 1 + apps/dav/appinfo/v2/publicremote.php | 1 + 2 files changed, 2 insertions(+) (limited to 'apps/dav/appinfo') diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php index 5ef383e1dd5..38753374150 100644 --- a/apps/dav/appinfo/v1/publicwebdav.php +++ b/apps/dav/appinfo/v1/publicwebdav.php @@ -87,6 +87,7 @@ $server = $serverFactory->createServer($baseuri, $requestUri, $authPlugin, funct $view = new \OC\Files\View($node->getPath()); $filesDropPlugin->setView($view); + $filesDropPlugin->setShare($share); return $view; }); diff --git a/apps/dav/appinfo/v2/publicremote.php b/apps/dav/appinfo/v2/publicremote.php index bdc4169dd4e..44cf4214505 100644 --- a/apps/dav/appinfo/v2/publicremote.php +++ b/apps/dav/appinfo/v2/publicremote.php @@ -116,6 +116,7 @@ $server = $serverFactory->createServer($baseuri, $requestUri, $authPlugin, funct $view = new View($node->getPath()); $filesDropPlugin->setView($view); + $filesDropPlugin->setShare($share); return $view; }); -- cgit v1.2.3