From 953f9ea2b2f04b60277d0bfebe31fe844dadeb3f 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 46749558146..1e0b2d921e3 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->getId(); + $cacheKey = $this->user->getUID() . '/' . $share->getId() . '/' . $share->getTarget(); $cached = $this->cache->get($cacheKey); if ($cached !== null) { return $cached;