diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-09-16 11:07:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 11:07:31 +0200 |
commit | 388618bd4476d3f786879b1e3f0acb4f793feb6f (patch) | |
tree | caf5e8c972ac67dc130312ad1ec308bbc4b329ba /apps/dav/lib | |
parent | 04997dfc5397ae84b9657626299a9bb7a4c34bf7 (diff) | |
parent | 9479ac837609deaaf8ab707e42e4c575f2c7238d (diff) | |
download | nextcloud-server-388618bd4476d3f786879b1e3f0acb4f793feb6f.tar.gz nextcloud-server-388618bd4476d3f786879b1e3f0acb4f793feb6f.zip |
Merge pull request #48030 from nextcloud/fix/dav-cast-params-to-string
Diffstat (limited to 'apps/dav/lib')
-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 838c1fbb781..54818a890f3 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php @@ -133,7 +133,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, |