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:
Anna 2024-09-16 11:07:40 +02:00 committed by GitHub
commit 1a972d0f47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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];
}