aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2023-01-09 15:11:47 +0100
committerGitHub <noreply@github.com>2023-01-09 15:11:47 +0100
commit10ab0f2280b663acd55b0fa2c06f4490b01a908c (patch)
tree828cb1403f9e238f0476014841ded8a7b3daf5ca /apps
parent3892c3edc91bcb32f31ccc50fc88c3451c7830d4 (diff)
parent927174e325b9a535e85ea195ca2d99e38790fd93 (diff)
downloadnextcloud-server-10ab0f2280b663acd55b0fa2c06f4490b01a908c.tar.gz
nextcloud-server-10ab0f2280b663acd55b0fa2c06f4490b01a908c.zip
Merge pull request #36047 from nextcloud/share-mount-check-cache-key
fix cache key used to verify shared mountpoints
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/SharedMount.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php
index 676e253344f..46749558146 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -104,7 +104,7 @@ class SharedMount extends MountPoint implements MoveableMount {
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;