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:
authorJoas Schilling <coding@schilljs.com>2020-04-08 16:41:20 +0300
committerJoas Schilling <coding@schilljs.com>2020-04-08 16:41:20 +0300
commitf8a5812f9846fe9799eacd2f2231af3707016e36 (patch)
tree7c8d797b7b8deb3069f818269478a18df8c692b5 /lib
parent981278a666370ce40d144ea8d7783e712605c1c0 (diff)
Try to use the display name of file transfers
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php
index 8fddbf71200..44da2e6f20f 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -828,7 +828,7 @@ class Filesystem {
$patterns = [
'/\\\\/s', // no windows style slashes
'/\/\.(\/\.)?\//s', // remove '/./'
- '/\/{2,}/s', // remove squence of slashes
+ '/\/{2,}/s', // remove sequence of slashes
'/\/\.$/s', // remove trailing /.
];