summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/swift.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/swift.php')
-rw-r--r--apps/files_external/lib/swift.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index 981a118f182..fe28e124fe3 100644
--- a/apps/files_external/lib/swift.php
+++ b/apps/files_external/lib/swift.php
@@ -201,7 +201,8 @@ class Swift extends \OC\Files\Storage\Common {
try {
$files = array();
$objects = $this->container->ObjectList(array(
- 'prefix' => $path
+ 'prefix' => $path,
+ 'delimiter' => '/'
));
while ($object = $objects->Next()) {