Skip to content
Snippets Groups Projects
Commit 10613f72 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #22273 from owncloud/versions-fixpathasrecipient

Fix versions path as share recipient when different than owner path
parents 5c89cf95 1b9e2919
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,11 @@ if( $versions ) {
$versions = array_slice($versions, $start, $count);
// remove owner path from request to not disclose it to the recipient
foreach ($versions as $version) {
unset($version['path']);
}
\OCP\JSON::success(array('data' => array('versions' => $versions, 'endReached' => $endReached)));
} else {
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment