diff options
author | Vincent Petry <vincent@nextcloud.com> | 2023-01-16 15:25:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 15:25:12 +0100 |
commit | 018a597d9bc73faf2f7d62fcfb562396baa4a1fe (patch) | |
tree | 8056297e7e9eeb635567c9d03d262d58de36d8a7 /apps | |
parent | bfcb2690a4cb43bb75a53dacfa95626694640aaf (diff) | |
parent | c105b6a85d5552936f3a2608c15a758d2aba8b47 (diff) | |
download | nextcloud-server-018a597d9bc73faf2f7d62fcfb562396baa4a1fe.tar.gz nextcloud-server-018a597d9bc73faf2f7d62fcfb562396baa4a1fe.zip |
Merge pull request #36161 from nextcloud/bugfix/36153/fix-sharemount-cache-key-include-target
still include the share target in the cache key for validating share mount
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; |