From 493e151be03102e4080c507d2614badcb03dad62 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 23 Jun 2023 14:39:17 +0200 Subject: [PATCH] dav: clean path before putting it in the statcache Signed-off-by: Robin Appelman --- lib/private/Files/Storage/DAV.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php index 6eab2df7f2f..70f22a17034 100644 --- a/lib/private/Files/Storage/DAV.php +++ b/lib/private/Files/Storage/DAV.php @@ -923,6 +923,7 @@ class DAV extends Common { foreach ($responses as $file => $response) { $file = urldecode($file); $file = substr($file, strlen($this->root)); + $file = $this->cleanPath($file); $this->statCache->set($file, $response); yield $this->getMetaFromPropfind($file, $response); } -- 2.39.5