Skip to content
Snippets Groups Projects
Unverified Commit eda78c6d authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #36172 from nextcloud/backport/36161/stable24

[stable24] still include the share target in the cache key for validating share mount
parents 03439f25 edaf318b
Branches
Tags
No related merge requests found
......@@ -103,7 +103,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment