mirror of
https://github.com/itflow-org/itflow
synced 2026-07-29 11:47:15 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -11,7 +11,7 @@ $purifier = new HTMLPurifier($purifier_config);
|
||||
|
||||
if (isset($_GET['query'])) {
|
||||
|
||||
$query = sanitizeInput($_GET['query']);
|
||||
$query = escapeSql($_GET['query']);
|
||||
|
||||
$phone_query = preg_replace("/[^0-9]/", '', $query);
|
||||
if (empty($phone_query)) {
|
||||
|
||||
Reference in New Issue
Block a user