Skip to content
Commit c31adf12 authored by Claus-Justus Heine's avatar Claus-Justus Heine Committed by Vincent Petry (Rebase PR Action)
Browse files

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: default avatarClaus-Justus Heine <himself@claus-justus-heine.de>
parent de9e61ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment