do NOT use xml CDATA for vCards to ensure correct replacement of control chars like VT

This commit is contained in:
Ralf Becker 2019-05-28 16:27:26 +02:00
parent 5b7281ed5c
commit c4f23f899f

View File

@ -252,7 +252,7 @@ class addressbook_groupdav extends Api\CalDAV\Handler
{
$content = $handler->getVCard($contact['id'],$this->charset,false);
$props['getcontentlength'] = bytes($content);
$props[] = Api\CalDAV::mkprop(Api\CalDAV::CARDDAV,'address-data',$content,true);
$props[] = Api\CalDAV::mkprop(Api\CalDAV::CARDDAV, 'address-data', $content);
}
$files[] = $this->add_resource($path, $contact, $props);
}