Skip to content

Commit a398872

Browse files
authored
Merge pull request #36049 from nextcloud/backport/36047/stable25
[stable25] fix cache key used to verify shared mountpoints
2 parents e02f2a7 + 496f318 commit a398872

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->getTarget();
107+
$cacheKey = $this->user->getUID() . '/' . $share->getId();
108108
$cached = $this->cache->get($cacheKey);
109109
if ($cached !== null) {
110110
return $cached;

0 commit comments

Comments
 (0)