Skip to content

Commit

Permalink
Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-…
Browse files Browse the repository at this point in the history
…to-int

fix(dav): cast content length to interger
  • Loading branch information
miaulalala authored Sep 16, 2024
2 parents 388618b + 92d1bdb commit 1a972d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/BulkUpload/MultipartRequestParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function parseNextPart(): array {

$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];
}
Expand Down

0 comments on commit 1a972d0

Please sign in to comment.