summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/lib/util.php')
-rw-r--r--apps/files_encryption/lib/util.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php
index c1f273d86ed..c811989127b 100644
--- a/apps/files_encryption/lib/util.php
+++ b/apps/files_encryption/lib/util.php
@@ -279,6 +279,10 @@ class Util {
while (false !== ($file = readdir($handle))) {
if ($file !== "." && $file !== "..") {
+ // skip stray part files
+ if (Helper::isPartialFilePath($file)) {
+ continue;
+ }
$filePath = $directory . '/' . $this->view->getRelativePath('/' . $file);
$relPath = Helper::stripUserFilesPath($filePath);