mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 13:53:55 -04:00
Merge pull request #899 from nextcloud/nfd-default
[us] Disable NFD encoding wrapper by default
This commit is contained in:
commit
5a599d5c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class OC_Util {
|
|||
});
|
||||
|
||||
\OC\Files\Filesystem::addStorageWrapper('oc_encoding', function ($mountPoint, \OCP\Files\Storage $storage, \OCP\Files\Mount\IMountPoint $mount) {
|
||||
if ($mount->getOption('encoding_compatibility', true) && !$storage->instanceOfStorage('\OC\Files\Storage\Shared') && !$storage->isLocal()) {
|
||||
if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OC\Files\Storage\Shared') && !$storage->isLocal()) {
|
||||
return new \OC\Files\Storage\Wrapper\Encoding(['storage' => $storage]);
|
||||
}
|
||||
return $storage;
|
||||
|
|
|
|||
Loading…
Reference in a new issue