From a26a6c2449f89e8e2a426864c9a2c77dd95873c9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 8 Jan 2016 14:43:04 +0100 Subject: [PATCH] Fix sql injection even when code is on several lines --- htdocs/main.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index b3040cbf03b..890110cda8b 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -95,8 +95,8 @@ function test_sql_and_script_inject($val, $type) // All examples on page: http://ha.ckers.org/xss.html#XSScalc $sql_inj += preg_match('/