From 5ad8fa76756801eee2aac18459aed60d03b4d4bc Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 1 Jun 2016 12:20:38 +0200 Subject: Add keepUnicode value in the cache key of normalizedPathCache --- lib/private/Files/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Files/Filesystem.php') 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]; -- cgit v1.2.3