html in source field is not safe

Esse commit está contido em:
Hannes Mannerheim
2016-09-01 22:55:04 +02:00
commit 632d5f1136
+3
Ver Arquivo
@@ -522,6 +522,9 @@ class QvitterPlugin extends Plugin {
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
$notice_groups = $notice->getGroups();
$group_addressees = false;