summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Filesystem.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-01 12:20:38 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-01 14:28:59 +0200
commit5ad8fa76756801eee2aac18459aed60d03b4d4bc (patch)
treee5582d056b8ad473333292c2da6777dbf9868c19 /lib/private/Files/Filesystem.php
parent7b4459d28d40523c70ec05a733e158f2c14faac4 (diff)
downloadnextcloud-server-5ad8fa76756801eee2aac18459aed60d03b4d4bc.tar.gz
nextcloud-server-5ad8fa76756801eee2aac18459aed60d03b4d4bc.zip
Add keepUnicode value in the cache key of normalizedPathCache
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 08621d160be..3d3345a5c80 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -781,7 +781,7 @@ class Filesystem {
*/
$path = (string)$path;
- $cacheKey = json_encode([$path, $stripTrailingSlash, $isAbsolutePath]);
+ $cacheKey = json_encode([$path, $stripTrailingSlash, $isAbsolutePath, $keepUnicode]);
if (isset(self::$normalizedPathCache[$cacheKey])) {
return self::$normalizedPathCache[$cacheKey];