FIX missing protection on ajax public ticket page for valid email
This commit is contained in:
parent
5e49ed17d3
commit
84afd61eba
@ -55,7 +55,7 @@ include_once '../../../main.inc.php'; // Load $user and permissions
|
||||
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$id = GETPOST('id', 'int');
|
||||
$email = GETPOST('email', 'alphanohtml');
|
||||
$email = GETPOST('email', 'custom', 0, 'FILTER_VALIDATE_EMAIL');
|
||||
|
||||
|
||||
if (!isModEnabled('ticket')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user