summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Filesystem.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-08 15:41:20 +0200
committerJoas Schilling <coding@schilljs.com>2020-04-08 15:41:20 +0200
commitf8a5812f9846fe9799eacd2f2231af3707016e36 (patch)
tree7c8d797b7b8deb3069f818269478a18df8c692b5 /lib/private/Files/Filesystem.php
parent981278a666370ce40d144ea8d7783e712605c1c0 (diff)
downloadnextcloud-server-f8a5812f9846fe9799eacd2f2231af3707016e36.tar.gz
nextcloud-server-f8a5812f9846fe9799eacd2f2231af3707016e36.zip
Try to use the display name of file transfers
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Files/Filesystem.php')
-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 /.
];