aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-23 15:58:43 -0700
committerFriendika <info@friendika.com>2011-06-23 15:58:43 -0700
commit5633430a19624423ddd98655518d8a765f081230 (patch)
treebf954c96cfb9de5a99bc5a4a8f0b08782be788a2 /include
parent0e809b930173e284bf4abaa958616b4d3aa9ed07 (diff)
downloadvolse-hubzilla-5633430a19624423ddd98655518d8a765f081230.tar.gz
volse-hubzilla-5633430a19624423ddd98655518d8a765f081230.tar.bz2
volse-hubzilla-5633430a19624423ddd98655518d8a765f081230.zip
don't allow tags in app source
Diffstat (limited to 'include')
-rw-r--r--include/items.php2
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';
}