mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-int
fix(dav): cast content length to interger
This commit is contained in:
commit
1a972d0f47
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