diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-11 18:15:59 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-11 18:21:55 +0200 |
commit | 08e0b6cf5e0536853dd69a5a926acbca8b822b16 (patch) | |
tree | 80cd03659ac0a012960764dd3f8933f17e5729a9 /apps | |
parent | d98d72aa9981063ffc101fc5c89887509c8b2770 (diff) | |
download | nextcloud-server-08e0b6cf5e0536853dd69a5a926acbca8b822b16.tar.gz nextcloud-server-08e0b6cf5e0536853dd69a5a926acbca8b822b16.zip |
Contacts: Also strip parameters.
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/contacts/ajax/saveproperty.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)))); } } } |