summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/list.php')
-rw-r--r--apps/files_sharing/ajax/list.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/ajax/list.php b/apps/files_sharing/ajax/list.php
index d09b61fd4ae..9185e508e67 100644
--- a/apps/files_sharing/ajax/list.php
+++ b/apps/files_sharing/ajax/list.php
@@ -71,6 +71,9 @@ foreach ($files as $file) {
unset($entry['directory']);
// do not disclose share owner
unset($entry['shareOwner']);
+ // do not disclose if something is a remote shares
+ unset($entry['mountType']);
+ unset($entry['icon']);
$entry['permissions'] = \OCP\Constants::PERMISSION_READ;
$formattedFiles[] = $entry;
}