diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-06-23 18:48:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 18:48:56 +0200 |
commit | 877ddd28277e6bd263832209f4d22e713b4bdd87 (patch) | |
tree | d639b29a90c1432692b40e154c89641c64dd5bdf | |
parent | ff5ed3f2985cd085082e9f5e8adc7385a8c0cfae (diff) | |
parent | 493e151be03102e4080c507d2614badcb03dad62 (diff) | |
download | nextcloud-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.php | 1 |
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); } |