]> git.mxchange.org Git - friendica.git/commitdiff
The name in the notifications has to be double encoded
authorMichael Vogel <icarus@dabo.de>
Sat, 12 Mar 2016 08:21:13 +0000 (09:21 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 12 Mar 2016 08:21:13 +0000 (09:21 +0100)
mod/ping.php

index 2eb94576b375b47e13277a2f1cd1b7aa36795e9b..544aa446bbb4d073e6256a44f0c286209d40e946 100644 (file)
@@ -207,7 +207,7 @@ function ping_init(&$a) {
                        call_hooks('ping_xmlize', $n);
                        $notsxml = '<note id="%d" href="%s" name="%s" url="%s" photo="%s" date="%s" seen="%s" timestamp="%s" >%s</note>'."\n";
                        return sprintf ( $notsxml, intval($n['id']),
-                               xmlify($n['href']), xmlify($n['name']), xmlify($n['url']), xmlify($n['photo']),
+                               xmlify($n['href']), xmlify(xmlify($n['name'])), xmlify($n['url']), xmlify($n['photo']),
                                xmlify(relative_date($n['date'])), xmlify($n['seen']), xmlify(strtotime($local_time)),
                                xmlify($n['message'])
                        );