aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorAnna <anna@nextcloud.com>2024-09-16 11:07:40 +0200
committerGitHub <noreply@github.com>2024-09-16 11:07:40 +0200
commit1a972d0f47ffaf688ee60781b2d6b1d1740ea4d1 (patch)
tree09db9d14ae6e03e23f2b5014263867c829aec8d0 /apps/dav/lib
parent388618bd4476d3f786879b1e3f0acb4f793feb6f (diff)
parent92d1bdb9653c36658d0e96e249cb351304ae8627 (diff)
downloadnextcloud-server-1a972d0f47ffaf688ee60781b2d6b1d1740ea4d1.tar.gz
nextcloud-server-1a972d0f47ffaf688ee60781b2d6b1d1740ea4d1.zip
Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-int
fix(dav): cast content length to interger
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];
}