Skip to content
Snippets Groups Projects
Unverified Commit ff90735d authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #36169 from...

Merge pull request #36169 from nextcloud/bugfix/36153/fix-sharemount-cache-key-include-target/stable25

[stable25] still include the share target in the cache key for validating share mount
parents f74ba9cb 953f9ea2
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class SharedMount extends MountPoint implements MoveableMount {
array $mountpoints,
CappedMemoryCache $folderExistCache
) {
$cacheKey = $this->user->getUID() . '/' . $share->getId();
$cacheKey = $this->user->getUID() . '/' . $share->getId() . '/' . $share->getTarget();
$cached = $this->cache->get($cacheKey);
if ($cached !== null) {
return $cached;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment