don't allow tags in app source
This commit is contained in:
parent
0e809b9301
commit
5633430a19
3 changed files with 3 additions and 3 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue