mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
fix problems with german "Umlaut" in folder name
This commit is contained in:
parent
1cfc9d269e
commit
85e0c78166
1 changed files with 1 additions and 1 deletions
2
lib/files/cache/scanner.php
vendored
2
lib/files/cache/scanner.php
vendored
|
|
@ -114,7 +114,7 @@ class Scanner {
|
|||
$size = 0;
|
||||
if ($this->storage->is_dir($path) && ($dh = $this->storage->opendir($path))) {
|
||||
\OC_DB::beginTransaction();
|
||||
while ($file = readdir($dh)) {
|
||||
while ($file = utf8_encode(readdir($dh))) {
|
||||
$child = ($path) ? $path . '/' . $file : $file;
|
||||
if (!$this->isIgnoredDir($file)) {
|
||||
$data = $this->scanFile($child, $recursive === self::SCAN_SHALLOW);
|
||||
|
|
|
|||
Loading…
Reference in a new issue