From 9a84339246678514e228ed8be793337043a916ac Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 16 Jan 2023 13:09:50 +0100 Subject: [PATCH] still include the share target in the cache key for validating share mount 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 467495581466f..1e0b2d921e3f2 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -104,7 +104,7 @@ private function verifyMountPoint( array $mountpoints, CappedMemoryCache $folderExistCache ) { - $cacheKey = $this->user->getUID() . '/' . $share->getId(); + $cacheKey = $this->user->getUID() . '/' . $share->getId() . '/' . $share->getTarget(); $cached = $this->cache->get($cacheKey); if ($cached !== null) { return $cached;