Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #30985

@szaimen
Copy link
Contributor

szaimen commented Feb 11, 2022

Okay, seems like it is not important enough for the hotifx release: #30999 (comment)

@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish bug labels Feb 11, 2022
@PVince81
Copy link
Member

/rebase

…d 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>
@szaimen
Copy link
Contributor

szaimen commented Feb 21, 2022

⚙️ failure unrelated, afaics

@szaimen szaimen merged commit 55ce97c into stable22 Feb 21, 2022
@szaimen szaimen deleted the backport/30985/stable22 branch February 21, 2022 11:35
@blizzz blizzz mentioned this pull request Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants