mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix webdav quota check for the root of the dav endpoint
This commit is contained in:
parent
b11c0c533e
commit
11e1acd8ec
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ class QuotaPlugin extends \Sabre\DAV\ServerPlugin {
|
|||
$uri = '/' . $uri;
|
||||
}
|
||||
list($parentUri, $newName) = \Sabre\HTTP\URLUtil::splitPath($uri);
|
||||
if(is_null($parentUri)) {
|
||||
$parentUri = '';
|
||||
}
|
||||
$req = $this->server->httpRequest;
|
||||
if ($req->getHeader('OC-Chunked')) {
|
||||
$info = \OC_FileChunking::decodeName($newName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue