mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 17:00:40 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -11,10 +11,10 @@ if (!isset($session_is_admin) || !$session_is_admin) {
|
||||
redirect($settings_mail_path);
|
||||
}
|
||||
|
||||
$state = sanitizeInput($_GET['state'] ?? '');
|
||||
$state = escapeSql($_GET['state'] ?? '');
|
||||
$code = $_GET['code'] ?? '';
|
||||
$error = sanitizeInput($_GET['error'] ?? '');
|
||||
$error_description = sanitizeInput($_GET['error_description'] ?? '');
|
||||
$error = escapeSql($_GET['error'] ?? '');
|
||||
$error_description = escapeSql($_GET['error_description'] ?? '');
|
||||
|
||||
$session_state = $_SESSION['mail_oauth_state'] ?? '';
|
||||
$session_state_expires = intval($_SESSION['mail_oauth_state_expires_at'] ?? 0);
|
||||
|
||||
Reference in New Issue
Block a user