aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 13:40:58 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-15 22:46:46 +0200
commit92d1bdb9653c36658d0e96e249cb351304ae8627 (patch)
tree12222ac9314351584539b956ea21dd1912750f77 /apps/dav/lib
parent3fe3f8d1f65002a39713e313fcec6c8c0e12b817 (diff)
downloadnextcloud-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.php2
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];
}