From 7e01c6db92c9c2ca76b5f0df374533fb1c380ebf Mon Sep 17 00:00:00 2001 From: xushubieli Date: Mon, 21 Feb 2022 16:37:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/dedesqli.class.php | 4 ++-- src/include/dedesqlite.class.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/dedesqli.class.php b/src/include/dedesqli.class.php index 46e15bad..94b4b9e1 100755 --- a/src/include/dedesqli.class.php +++ b/src/include/dedesqli.class.php @@ -602,7 +602,7 @@ if (!function_exists('CheckSql')) { //$notallow2 = "--|/\*"; if (preg_match("/".$notallow1."/i", $db_string)) { fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n"); - exit("Safe Alert: Request Error step 1 !"); + exit("Safe Alert: Request Error step 1 !"); } } @@ -673,7 +673,7 @@ if (!function_exists('CheckSql')) { } if (!empty($fail)) { fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||$error\r\n"); - exit("Safe Alert: Request Error step 2!"); + exit("Safe Alert: Request Error step 2!"); } else { return $db_string; } diff --git a/src/include/dedesqlite.class.php b/src/include/dedesqlite.class.php index 42522204..bfe9bba8 100755 --- a/src/include/dedesqlite.class.php +++ b/src/include/dedesqlite.class.php @@ -609,7 +609,7 @@ if (!function_exists('CheckSql')) { //$notallow2 = "--|/\*"; if (preg_match("/".$notallow1."/i", $db_string)) { fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n"); - exit("Safe Alert: Request Error step 1 !"); + exit("Safe Alert: Request Error step 1 !"); } } @@ -680,7 +680,7 @@ if (!function_exists('CheckSql')) { } if (!empty($fail)) { fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||$error\r\n"); - exit("Safe Alert: Request Error step 2!"); + exit("Safe Alert: Request Error step 2!"); } else { return $db_string; }