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 /include/items.php | |
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 'include/items.php')
-rw-r--r-- | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 5bcdaef99..3901927fc 100644 --- a/include/items.php +++ b/include/items.php @@ -338,7 +338,7 @@ function get_atom_elements($feed,$item) { $apps = $item->get_item_tags(NAMESPACE_STATUSNET,'notice_info'); if($apps && $apps[0]['attribs']['']['source']) { - $res['app'] = $apps[0]['attribs']['']['source']; + $res['app'] = strip_tags(unxmlify($apps[0]['attribs']['']['source'])); if($res['app'] === 'web') $res['app'] = 'OStatus'; } |