Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-int

fix(dav): cast content length to interger
pull/47998/head
Anna 2024-09-16 11:07:40 +07:00 committed by GitHub
commit 1a972d0f47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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];
}