SECURITY: dir_sort_links() exposes session cookie
This commit is contained in:
parent
836223bf5b
commit
1e4e7ce2d3
@ -56,10 +56,10 @@ function dir_sort_links() {
|
|||||||
|
|
||||||
$current_order = (($_REQUEST['order']) ? $_REQUEST['order'] : 'normal');
|
$current_order = (($_REQUEST['order']) ? $_REQUEST['order'] : 'normal');
|
||||||
$url = 'directory?';
|
$url = 'directory?';
|
||||||
$tmp = $_REQUEST;
|
$tmp = array_merge($_GET,$_POST);
|
||||||
unset($tmp['order']);
|
unset($tmp['order']);
|
||||||
$sorturl = $url . http_build_query($tmp);
|
$sorturl = $url . http_build_query($tmp);
|
||||||
$tmp = $_REQUEST;
|
$tmp = array_merge($_GET,$_POST);
|
||||||
|
|
||||||
unset($tmp['pubforums']);
|
unset($tmp['pubforums']);
|
||||||
$forumsurl = $url . http_build_query($tmp);
|
$forumsurl = $url . http_build_query($tmp);
|
||||||
|
Reference in New Issue
Block a user