aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-02 01:21:51 -0700
committerFriendika <info@friendika.com>2011-10-02 01:21:51 -0700
commitc72883f06822658491134d41a3b8ab83d9984b86 (patch)
tree15589356627766626ecb97d27ca509176616a201
parent7059b8378c1c2e6655ea9a7b041f3db8e9423e14 (diff)
downloadvolse-hubzilla-c72883f06822658491134d41a3b8ab83d9984b86.tar.gz
volse-hubzilla-c72883f06822658491134d41a3b8ab83d9984b86.tar.bz2
volse-hubzilla-c72883f06822658491134d41a3b8ab83d9984b86.zip
malformed xml in ping
-rw-r--r--mod/ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ping.php b/mod/ping.php
index 30f1dc837..544a42e14 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -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)
);
}