Skip to content

Commit

Permalink
Merge pull request #36050 from nextcloud/backport/36047/stable24
Browse files Browse the repository at this point in the history
[stable24] fix cache key used to verify shared mountpoints
  • Loading branch information
PVince81 authored Jan 10, 2023
2 parents ae75427 + 76e2de2 commit a3b547d
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 @@ -103,7 +103,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 a3b547d

Please sign in to comment.