mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Fix for mb strlen
Error with moving files with long names in UTF-8
This commit is contained in:
parent
f91d6624cd
commit
3d54cef078
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ class Cache implements ICache {
|
|||
$this->connection->beginTransaction();
|
||||
if ($sourceData['mimetype'] === 'httpd/unix-directory') {
|
||||
//update all child entries
|
||||
$sourceLength = strlen($sourcePath);
|
||||
$sourceLength = mb_strlen($sourcePath);
|
||||
$query = $this->connection->getQueryBuilder();
|
||||
|
||||
$fun = $query->func();
|
||||
|
|
|
|||
Loading…
Reference in a new issue