diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-04-29 11:19:00 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-04-29 16:19:53 +0200 |
commit | 4326d73ff6dc4514163dbbe4164342cef8deba0a (patch) | |
tree | 7af67c14d4119abdb62f25c7349ca14a6d79a3e2 /apps/files_external | |
parent | 61203eee0422bbb839356bfbfe196ef794fd91b3 (diff) | |
download | nextcloud-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.php | 2 |
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); } /** |