From: Robin Appelman Date: Mon, 9 Jan 2023 12:48:44 +0000 (+0100) Subject: fix cache key used to verify shared mountpoints X-Git-Tag: v26.0.0beta1~115^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=927174e325b9a535e85ea195ca2d99e38790fd93;p=nextcloud-server.git fix cache key used to verify shared mountpoints Signed-off-by: Robin Appelman --- 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;