]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix cache key used to verify shared mountpoints 36047/head
authorRobin Appelman <robin@icewind.nl>
Mon, 9 Jan 2023 12:48:44 +0000 (13:48 +0100)
committerRobin Appelman <robin@icewind.nl>
Mon, 9 Jan 2023 12:48:44 +0000 (13:48 +0100)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_sharing/lib/SharedMount.php

index 676e253344f2395b87ae10e82134315b110be9da..467495581466fda4f32e4f70793b6d10f4cd86af 100644 (file)
@@ -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;