Skip to content

Commit ff90735

Browse files
authored
Merge pull request #36169 from nextcloud/bugfix/36153/fix-sharemount-cache-key-include-target/stable25
[stable25] still include the share target in the cache key for validating share mount
2 parents f74ba9c + 953f9ea commit ff90735

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/lib/SharedMount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private function verifyMountPoint(
104104
array $mountpoints,
105105
CappedMemoryCache $folderExistCache
106106
) {
107-
$cacheKey = $this->user->getUID() . '/' . $share->getId();
107+
$cacheKey = $this->user->getUID() . '/' . $share->getId() . '/' . $share->getTarget();
108108
$cached = $this->cache->get($cacheKey);
109109
if ($cached !== null) {
110110
return $cached;

0 commit comments

Comments
 (0)