Merge pull request #38965 from nextcloud/dav-directory-clean-cache-path

dav: clean path before putting it in the statcache
pull/38974/head
Arthur Schiwon 11 months ago committed by GitHub
commit 877ddd2827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}

Loading…
Cancel
Save