diff options
author | Robin Appelman <robin@icewind.nl> | 2023-01-16 13:09:50 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-01-16 13:09:50 +0100 |
commit | c105b6a85d5552936f3a2608c15a758d2aba8b47 (patch) | |
tree | 5e636b757ef5e2763d59546fdd5722452ec4f6c1 /apps | |
parent | 8393ae27777777ff2ddcba10a9e124e36c30d634 (diff) | |
download | nextcloud-server-c105b6a85d5552936f3a2608c15a758d2aba8b47.tar.gz nextcloud-server-c105b6a85d5552936f3a2608c15a758d2aba8b47.zip |
still include the share target in the cache key for validating share mount
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/SharedMount.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |