diff options
author | Vincent Petry <vincent@nextcloud.com> | 2023-01-09 15:11:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 15:11:47 +0100 |
commit | 10ab0f2280b663acd55b0fa2c06f4490b01a908c (patch) | |
tree | 828cb1403f9e238f0476014841ded8a7b3daf5ca /apps | |
parent | 3892c3edc91bcb32f31ccc50fc88c3451c7830d4 (diff) | |
parent | 927174e325b9a535e85ea195ca2d99e38790fd93 (diff) | |
download | nextcloud-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.php | 2 |
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; |