diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-15 13:40:58 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-09-15 22:46:46 +0200 |
commit | 92d1bdb9653c36658d0e96e249cb351304ae8627 (patch) | |
tree | 12222ac9314351584539b956ea21dd1912750f77 /apps/dav/lib | |
parent | 3fe3f8d1f65002a39713e313fcec6c8c0e12b817 (diff) | |
download | nextcloud-server-92d1bdb9653c36658d0e96e249cb351304ae8627.tar.gz nextcloud-server-92d1bdb9653c36658d0e96e249cb351304ae8627.zip |
fix(dav): cast content length to intergerfix/dav-cast-content-lenght-to-int
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/BulkUpload/MultipartRequestParser.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |