Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
0e34bade
Commit
0e34bade
authored
Oct 27, 2014
by
Till Brehm
Browse files
Fixed: FS#3718 - SQL injection checker false positive alert in APS installer
parent
67fedede
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/db_mysql.inc.php
View file @
0e34bade
...
...
@@ -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;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment