Filter magic dot object when swift directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
004c3d8e1c
commit
4cafe899fa
|
@ -275,7 +275,7 @@ class Swift extends \OC\Files\Storage\Common {
|
|||
/** @var OpenCloud\ObjectStore\Resource\DataObject $object */
|
||||
foreach ($objects as $object) {
|
||||
$file = basename($object->getName());
|
||||
if ($file !== basename($path)) {
|
||||
if ($file !== basename($path) && $file !== '.') {
|
||||
$files[] = $file;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue