mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
dav: clean path before putting it in the statcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
05f360c5ec
commit
493e151be0
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