* CardDAV/Addressbook: fix missing wrapping of notes field

by disabling all old special handling for vCard version 3.0
This commit is contained in:
Ralf Becker 2018-10-25 21:04:34 +02:00
parent 9b993e5484
commit 8c05d047ea

View File

@ -449,7 +449,7 @@ class addressbook_vcal extends addressbook_bo
{
$value = Api\Translation::convert(trim($value), $sysCharSet, $_charset);
$values[] = $value;
if (preg_match('/[^\x20-\x7F]/', $value))
if ($this->version == '2.1' && preg_match('/[^\x20-\x7F]/', $value))
{
if ($extra_charset_attribute || $this->productName == 'kde')
{