summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-04-29 11:19:00 +0200
committerVincent Petry <pvince81@owncloud.com>2016-04-29 16:19:53 +0200
commit4326d73ff6dc4514163dbbe4164342cef8deba0a (patch)
tree7af67c14d4119abdb62f25c7349ca14a6d79a3e2 /apps/files_external
parent61203eee0422bbb839356bfbfe196ef794fd91b3 (diff)
downloadnextcloud-server-4326d73ff6dc4514163dbbe4164342cef8deba0a.tar.gz
nextcloud-server-4326d73ff6dc4514163dbbe4164342cef8deba0a.zip
Fix SMB storage to not normalize UTF8
This makes sure that even if a NFD file name exists, it is found by the storage and will be visible to higher layers. Even though the file will be discarded anyway there, it gives the scanner a chance to display a warning at least.
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/storage/smb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/storage/smb.php b/apps/files_external/lib/storage/smb.php
index 4249d13168c..868c52a63b4 100644
--- a/apps/files_external/lib/storage/smb.php
+++ b/apps/files_external/lib/storage/smb.php
@@ -100,7 +100,7 @@ class SMB extends \OC\Files\Storage\Common {
* @return string
*/
protected function buildPath($path) {
- return Filesystem::normalizePath($this->root . '/' . $path);
+ return Filesystem::normalizePath($this->root . '/' . $path, true, false, true);
}
/**