FILTER_SANITIZE_STRING is deprecated in PHP 8.1+
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Basic input sanitation */
|
||||
$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_STRING) ?: [];
|
||||
$_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING) ?: [];
|
||||
$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_FULL_SPECIAL_CHARS) ?: [];
|
||||
$_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_FULL_SPECIAL_CHARS) ?: [];
|
||||
|
||||
require_once __DIR__ . '/common.php';
|
||||
ensure_authenticated();
|
||||
|
||||
Reference in New Issue
Block a user