some more xss prevention

(cherry picked from commit 968c6ed8be)
This commit is contained in:
Mario Vavti
2019-03-18 20:30:25 +00:00
committed by Mario
parent 8893d9edc4
commit 8559334339
5 changed files with 16 additions and 16 deletions

View File

@@ -149,11 +149,11 @@ class Pubstream extends \Zotlabs\Web\Controller {
'$order' => 'comment',
'$file' => '',
'$cats' => '',
'$tags' => $hashtags,
'$tags' => (($hashtags) ? urlencode($hashtags) : ''),
'$dend' => '',
'$mid' => $mid,
'$mid' => (($mid) ? urlencode($mid) : ''),
'$verb' => '',
'$net' => $net,
'$net' => (($net) ? urlencode($net) : ''),
'$dbegin' => ''
));
}