summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-06-23 18:48:56 +0200
committerGitHub <noreply@github.com>2023-06-23 18:48:56 +0200
commit877ddd28277e6bd263832209f4d22e713b4bdd87 (patch)
treed639b29a90c1432692b40e154c89641c64dd5bdf
parentff5ed3f2985cd085082e9f5e8adc7385a8c0cfae (diff)
parent493e151be03102e4080c507d2614badcb03dad62 (diff)
downloadnextcloud-server-877ddd28277e6bd263832209f4d22e713b4bdd87.tar.gz
nextcloud-server-877ddd28277e6bd263832209f4d22e713b4bdd87.zip
Merge pull request #38965 from nextcloud/dav-directory-clean-cache-path
dav: clean path before putting it in the statcache
-rw-r--r--lib/private/Files/Storage/DAV.php1
1 files changed, 1 insertions, 0 deletions
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);
}