html in source field is not safe
This commit is contained in:
parent
e83d89e99d
commit
632d5f1136
|
@ -522,6 +522,9 @@ class QvitterPlugin extends Plugin {
|
||||||
function onNoticeSimpleStatusArray($notice, &$twitter_status, $scoped)
|
function onNoticeSimpleStatusArray($notice, &$twitter_status, $scoped)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// strip tags from source, we can't trust html here, because of gs bug
|
||||||
|
$twitter_status['source'] = htmlspecialchars(strip_tags($twitter_status['source']));
|
||||||
|
|
||||||
// groups
|
// groups
|
||||||
$notice_groups = $notice->getGroups();
|
$notice_groups = $notice->getGroups();
|
||||||
$group_addressees = false;
|
$group_addressees = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user