From 08e0b6cf5e0536853dd69a5a926acbca8b822b16 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 11 May 2012 18:15:59 +0200 Subject: [PATCH] Contacts: Also strip parameters. --- apps/contacts/ajax/saveproperty.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php index 0cd6d5b36fb..1af05682b63 100755 --- a/apps/contacts/ajax/saveproperty.php +++ b/apps/contacts/ajax/saveproperty.php @@ -138,7 +138,7 @@ if(!$value) { debug('Adding parameter: '.$key); foreach($parameter as $val) { debug('Adding parameter: '.$key.'=>'.$val); - $vcard->children[$line]->add(new Sabre_VObject_Parameter($key, strtoupper($val))); + $vcard->children[$line]->add(new Sabre_VObject_Parameter($key, strtoupper(strip_tags($val)))); } } } -- 2.39.5