From: Bart Visscher Date: Wed, 30 Nov 2011 19:58:27 +0000 (+0100) Subject: Contacts: Allow '/' in property name X-Git-Tag: v3.0~83^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d391298fb048f3fc36a52859c212344f04b6a35;p=nextcloud-server.git Contacts: Allow '/' in property name Kaddressbook uses this in the messaging property. This is allowed in Version 2 of the vcard specification. Version 3 of the specification doesn't allow this any more but be lenient in what we accept. --- diff --git a/3rdparty/Sabre/VObject/Reader.php b/3rdparty/Sabre/VObject/Reader.php index 5ed7882ac91..7d1c282838e 100644 --- a/3rdparty/Sabre/VObject/Reader.php +++ b/3rdparty/Sabre/VObject/Reader.php @@ -117,7 +117,7 @@ class Sabre_VObject_Reader { //$result = preg_match('/(?P[A-Z0-9-]+)(?:;(?P^(?([^:^\"]|\"([^\"]*)\")*))?"; $regex = "/^(?P$token)$parameters:(?P.*)$/i";