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 committed Sep 15, 2024
commit 9479ac837609deaaf8ab707e42e4c575f2c7238d
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