Merge pull request #2412 from annando/1603-double-encode-ping
The name in the notifications has to be double encoded
This commit is contained in:
commit
bc574328bd
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue