UID undefined
This commit is contained in:
@@ -4,9 +4,7 @@ use ProcessMaker\Plugins\PluginRegistry;
|
|||||||
|
|
||||||
$filter = new InputFilter();
|
$filter = new InputFilter();
|
||||||
|
|
||||||
list($_GET['UID'], $_GET['TYPE'], $_GET['POSITION'], $_GET['ACTION']) = $filter->xssRegexFilter(
|
$_GET = $filter->xssRegexFilter($_GET, '/[\-\w]/');
|
||||||
[$_GET['UID'], $_GET['TYPE'], $_GET['POSITION'], $_GET['ACTION']], '/[\-\w]/'
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||||
if(!strpos($_SERVER['REQUEST_URI'], 'gmail')) {
|
if(!strpos($_SERVER['REQUEST_URI'], 'gmail')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user