From 927174e325b9a535e85ea195ca2d99e38790fd93 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 9 Jan 2023 13:48:44 +0100 Subject: [PATCH] fix cache key used to verify shared mountpoints Signed-off-by: Robin Appelman --- apps/files_sharing/lib/SharedMount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index 676e253344f..46749558146 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -104,7 +104,7 @@ class SharedMount extends MountPoint implements MoveableMount { array $mountpoints, CappedMemoryCache $folderExistCache ) { - $cacheKey = $this->user->getUID() . '/' . $share->getTarget(); + $cacheKey = $this->user->getUID() . '/' . $share->getId(); $cached = $this->cache->get($cacheKey); if ($cached !== null) { return $cached; -- 2.39.5