From 65f5c4dda67baf02d4f63fa4ad2f52238a87e839 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 02e77e257d876..fedc8cc58c0f9 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -103,7 +103,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;