diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 98792ed804322..1c0df77e9474d 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -147,7 +147,7 @@ private function setupBuiltinWrappers() { }); Filesystem::addStorageWrapper('oc_encoding', function ($mountPoint, IStorage $storage, IMountPoint $mount) { - if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage') && !$storage->isLocal()) { + if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage')) { return new Encoding(['storage' => $storage]); } return $storage;