diff options
author | Friendika <info@friendika.com> | 2011-06-23 15:58:43 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-23 15:58:43 -0700 |
commit | 5633430a19624423ddd98655518d8a765f081230 (patch) | |
tree | bf954c96cfb9de5a99bc5a4a8f0b08782be788a2 /addon/facebook | |
parent | 0e809b930173e284bf4abaa958616b4d3aa9ed07 (diff) | |
download | volse-hubzilla-5633430a19624423ddd98655518d8a765f081230.tar.gz volse-hubzilla-5633430a19624423ddd98655518d8a765f081230.tar.bz2 volse-hubzilla-5633430a19624423ddd98655518d8a765f081230.zip |
don't allow tags in app source
Diffstat (limited to 'addon/facebook')
-rw-r--r-- | addon/facebook/facebook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index 4265ce801..e9290b10e 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -821,7 +821,7 @@ function fb_consume_stream($uid,$j,$wall = false) { $datarray['owner-avatar'] = $self[0]['thumb']; } if(isset($entry->application) && isset($entry->application->name) && strlen($entry->application->name)) - $datarray['app'] = $entry->application->name; + $datarray['app'] = strip_tags($entry->application->name); else $datarray['app'] = 'facebook'; $datarray['author-name'] = $from->name; |