Skip to content

Commit 644c808

Browse files
fix cache key used to verify shared mountpoints
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 7fc120a commit 644c808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/SharedMount.php

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

0 commit comments

Comments
 (0)