mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #38965 from nextcloud/dav-directory-clean-cache-path
dav: clean path before putting it in the statcache
This commit is contained in:
commit
877ddd2827
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue