mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(dav): cast content length to interger
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
3fe3f8d1f6
commit
92d1bdb965
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ class MultipartRequestParser {
|
|||
|
||||
$headers = $this->readPartHeaders();
|
||||
|
||||
$content = $this->readPartContent($headers['content-length'], $headers['x-file-md5']);
|
||||
$content = $this->readPartContent((int)$headers['content-length'], $headers['x-file-md5']);
|
||||
|
||||
return [$headers, $content];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue