summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-01-09 13:48:44 +0100
committerRobin Appelman <robin@icewind.nl>2023-01-09 13:48:44 +0100
commit927174e325b9a535e85ea195ca2d99e38790fd93 (patch)
tree3a5b20c29d65f7a31ee4c41e58463bd89d5bd8fa /apps/files_sharing/lib
parentadef2b85c8c8f771d694dedec2c8509694aee149 (diff)
downloadnextcloud-server-927174e325b9a535e85ea195ca2d99e38790fd93.tar.gz
nextcloud-server-927174e325b9a535e85ea195ca2d99e38790fd93.zip
fix cache key used to verify shared mountpoints
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/SharedMount.php2
1 files changed, 1 insertions, 1 deletions
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;