Skip to content

Commit

Permalink
fix(dav): cast parameters to string
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <anna@nextcloud.com>
  • Loading branch information
miaulalala authored and backportbot[bot] committed Sep 16, 2024
1 parent 32866bc commit eeb14df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function httpGet(RequestInterface $request, ResponseInterface $response):
$filename = $userId . '-' . AppleProvisioningNode::FILENAME;

$xmlSkeleton = $this->getTemplate();
$body = vsprintf($xmlSkeleton, array_map(function ($v) {
$body = vsprintf($xmlSkeleton, array_map(function (string $v) {
return \htmlspecialchars($v, ENT_XML1, 'UTF-8');
}, [
$description,
Expand Down

0 comments on commit eeb14df

Please sign in to comment.