diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-15 13:41:40 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-16 09:08:24 +0000 |
commit | 19ebe4dd44382eaa680273bf50b563e68884a620 (patch) | |
tree | e05dd7b83c76609a09fa0298713223cc998f9ac1 | |
parent | ef4b1c38b9b8288fe397e441fc98d4df1952237c (diff) | |
download | nextcloud-server-19ebe4dd44382eaa680273bf50b563e68884a620.tar.gz nextcloud-server-19ebe4dd44382eaa680273bf50b563e68884a620.zip |
fix(dav): cast parameters to stringbackport/48030/stable28
Signed-off-by: Anna Larch <anna@nextcloud.com>
-rw-r--r-- | apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php index 98be4e41917..168f17bab8a 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php @@ -154,7 +154,7 @@ class AppleProvisioningPlugin extends ServerPlugin { $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, |