summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/util.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-08-17 14:46:52 +0200
committerGitHub <noreply@github.com>2016-08-17 14:46:52 +0200
commit5a599d5c4e4e0fca6b5edc1b841d08eec39cd671 (patch)
tree0124046e3041aa68748cd2acc471bda93bbafaba /lib/private/legacy/util.php
parentbaaf1521ce582102dcdb19b9692a95530ef9d1da (diff)
parent9f523518f342cb30f8f51d0d12aff33246e406ab (diff)
downloadnextcloud-server-5a599d5c4e4e0fca6b5edc1b841d08eec39cd671.tar.gz
nextcloud-server-5a599d5c4e4e0fca6b5edc1b841d08eec39cd671.zip
Merge pull request #899 from nextcloud/nfd-default
[us] Disable NFD encoding wrapper by default
Diffstat (limited to 'lib/private/legacy/util.php')
-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 a31d02dc01e..a975da39271 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -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;