summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-05-11 18:15:59 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-05-11 18:21:55 +0200
commit08e0b6cf5e0536853dd69a5a926acbca8b822b16 (patch)
tree80cd03659ac0a012960764dd3f8933f17e5729a9 /apps
parentd98d72aa9981063ffc101fc5c89887509c8b2770 (diff)
downloadnextcloud-server-08e0b6cf5e0536853dd69a5a926acbca8b822b16.tar.gz
nextcloud-server-08e0b6cf5e0536853dd69a5a926acbca8b822b16.zip
Contacts: Also strip parameters.
Diffstat (limited to 'apps')
-rwxr-xr-xapps/contacts/ajax/saveproperty.php2
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))));
}
}
}