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 eeb14df43b08574487092122711664b7cc4f3274
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