]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: Also strip parameters.
authorThomas Tanghus <thomas@tanghus.net>
Fri, 11 May 2012 16:15:59 +0000 (18:15 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Fri, 11 May 2012 16:21:55 +0000 (18:21 +0200)
apps/contacts/ajax/saveproperty.php

index 0cd6d5b36fb74a602aad90f7bdd0582099a8e29f..1af05682b63eb349782dc9453c473cd2b36f32e1 100755 (executable)
@@ -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))));
                                        }
                                }
                        }