aboutsummaryrefslogtreecommitdiffstats
path: root/occ
diff options
context:
space:
mode:
authorClaus-Justus Heine <himself@claus-justus-heine.de>2022-02-03 09:59:28 +0100
committerClaus-Justus Heine <himself@claus-justus-heine.de>2022-02-03 10:05:49 +0100
commita355410b88d1e36672795df46e7d3c7f703a47aa (patch)
treeec0c2fb0ed211b3db0000a01b1f4d4989b3b2064 /occ
parente167d7f44ce9adb43b021e83b8782d3413081e45 (diff)
downloadnextcloud-server-a355410b88d1e36672795df46e7d3c7f703a47aa.tar.gz
nextcloud-server-a355410b88d1e36672795df46e7d3c7f703a47aa.zip
Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.
The current implementation already switches the storage-backend to $storage->getSourceStorage(). However, it then calls $rootInfo->getInternalPath() which returns the internal path relative to the storage where the share is mounted. This is wrong, we need also to unjail the path. Compare, e.g., with OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the "logic". Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
Diffstat (limited to 'occ')
0 files changed, 0 insertions, 0 deletions