some more xss prevention

This commit is contained in:
Mario Vavti
2019-03-18 21:30:25 +01:00
parent 2ec3e4a912
commit 968c6ed8be
5 changed files with 16 additions and 16 deletions

View File

@@ -414,12 +414,12 @@ class Channel extends Controller {
'$page' => ((App::$pager['page'] != 1) ? App::$pager['page'] : 1),
'$search' => $search,
'$xchan' => '',
'$order' => $order,
'$order' => (($order) ? urlencode($order) : ''),,
'$list' => ((x($_REQUEST,'list')) ? intval($_REQUEST['list']) : 0),
'$file' => '',
'$cats' => (($category) ? urlencode($category) : ''),
'$tags' => (($hashtags) ? urlencode($hashtags) : ''),
'$mid' => $mid,
'$mid' => (($mid) ? urlencode($mid) : ''),,
'$verb' => '',
'$net' => '',
'$dend' => $datequery,