Skip to content

Commit

Permalink
Merge pull request #36047 from nextcloud/share-mount-check-cache-key
Browse files Browse the repository at this point in the history
fix cache key used to verify shared mountpoints
  • Loading branch information
PVince81 authored Jan 9, 2023
2 parents 3892c3e + 927174e commit 10ab0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/SharedMount.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function verifyMountPoint(
array $mountpoints,
CappedMemoryCache $folderExistCache
) {
$cacheKey = $this->user->getUID() . '/' . $share->getTarget();
$cacheKey = $this->user->getUID() . '/' . $share->getId();
$cached = $this->cache->get($cacheKey);
if ($cached !== null) {
return $cached;
Expand Down

0 comments on commit 10ab0f2

Please sign in to comment.