From 92d1bdb9653c36658d0e96e249cb351304ae8627 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Sun, 15 Sep 2024 13:40:58 +0200 Subject: fix(dav): cast content length to interger Signed-off-by: Anna Larch --- apps/dav/lib/BulkUpload/MultipartRequestParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/lib') diff --git a/apps/dav/lib/BulkUpload/MultipartRequestParser.php b/apps/dav/lib/BulkUpload/MultipartRequestParser.php index b6c4fbcc1be..97aa0597b34 100644 --- a/apps/dav/lib/BulkUpload/MultipartRequestParser.php +++ b/apps/dav/lib/BulkUpload/MultipartRequestParser.php @@ -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]; } -- cgit v1.2.3