Skip to content
Snippets Groups Projects
Commit 0e34bade authored by Till Brehm's avatar Till Brehm
Browse files

Fixed: FS#3718 - SQL injection checker false positive alert in APS installer

parent 67fedede
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,11 @@ class db extends mysqli
if($ids_config['sql_scan_enabled'] == 'yes') {
// Remove whitespace
$string = trim($string);
if(substr($string,-1) == ';') $string = substr($string,0,-1);
// Save original string
$string_orig = $string;
//echo $string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment