diff options
author | Robin Appelman <robin@icewind.nl> | 2023-06-23 14:39:17 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-06-23 14:39:17 +0200 |
commit | 493e151be03102e4080c507d2614badcb03dad62 (patch) | |
tree | 249f74699a640b30c948354f70118e1a70beaeeb /lib/private/Files/Storage | |
parent | 05f360c5ec76bf87f55bdbc0385aa7972ec11cbd (diff) | |
download | nextcloud-server-493e151be03102e4080c507d2614badcb03dad62.tar.gz nextcloud-server-493e151be03102e4080c507d2614badcb03dad62.zip |
dav: clean path before putting it in the statcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Storage')
-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); } |