Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-08-17 11:44:42 +0300
committerGitHub <noreply@github.com>2016-08-17 11:44:42 +0300
commit4765f5b214ca5d4030be9abafafe56e7b32f986a (patch)
treeca312ac696fd8b44ce6b011eb75d8df692bf3bdc /lib
parent64d78879db87aa1ab2f21a64e50f7cb0a44c81a2 (diff)
parent22d20833b59cdb62774524c2c7562f7aa4fbf3c2 (diff)
Merge pull request #25819 from owncloud/stable9.1-disable-nfd-wrapper
[stable9.1] Disable NFD encoding wrapper by default
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index 06cd1bee4ce..afd14f626e2 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -172,7 +172,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;