Skip to content

Commit

Permalink
fix(dav): cast content length to interger
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <[email protected]>
  • Loading branch information
miaulalala committed Sep 15, 2024
1 parent 3fe3f8d commit 92d1bdb
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 92d1bdb

Please sign in to comment.