From 6a0d7ff88b15e85581aab76ea9de696563f65d8d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Oct 2018 21:04:34 +0200 Subject: [PATCH] * CardDAV/Addressbook: fix missing wrapping of notes field by disabling all old special handling for vCard version 3.0 --- addressbook/inc/class.addressbook_vcal.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_vcal.inc.php b/addressbook/inc/class.addressbook_vcal.inc.php index 71dd9368ff..333c6207c8 100644 --- a/addressbook/inc/class.addressbook_vcal.inc.php +++ b/addressbook/inc/class.addressbook_vcal.inc.php @@ -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') {