Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(dav): cast parameters to string
Signed-off-by: Anna Larch <[email protected]>
  • Loading branch information
miaulalala authored and backportbot[bot] committed Sep 16, 2024
commit 4a6ed02a9a558115f4eb2315f7389d28b97b380e
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,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