]> git.mxchange.org Git - friendica.git/commitdiff
malformed xml in ping
authorFriendika <info@friendika.com>
Sun, 2 Oct 2011 08:21:51 +0000 (01:21 -0700)
committerFriendika <info@friendika.com>
Sun, 2 Oct 2011 08:21:51 +0000 (01:21 -0700)
mod/ping.php

index 30f1dc83742dc4db7b2a8fa4c646ba81529777dc..544a42e1447cc5d057b5e8dede2fa13e9b6fa3d8 100644 (file)
@@ -114,7 +114,7 @@ function ping_init(&$a) {
                function xmlize($href, $name, $url, $photo, $date, $message){
                        $notsxml = '<note href="%s" name="%s" url="%s" photo="%s" date="%s">%s</note>';
                        return sprintf ( $notsxml,
-                                       $href, $name, $url, $photo, $date, $message
+                                       xmlify($href), xmlify($name), xmlify($url), xmlify($photo), xmlify($date), xmlify($message)
                                );
                }