From cbd94ce355b18e591e2cb59a18db02c04e0b14c6 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 17 Nov 2015 14:09:29 +0100 Subject: [PATCH] Unset `path` for shared with me The original path is not required for a share recipient. --- apps/files_sharing/api/local.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_sharing/api/local.php b/apps/files_sharing/api/local.php index bb5136a0c9..aaafafb269 100644 --- a/apps/files_sharing/api/local.php +++ b/apps/files_sharing/api/local.php @@ -233,6 +233,7 @@ class Local { if (\OC::$server->getPreviewManager()->isMimeSupported($share['mimetype'])) { $share['isPreviewAvailable'] = true; } + unset($share['path']); } } $result = new \OC_OCS_Result($shares);