Skip to content

Commit 68b1465

Browse files
author
Till Brehm
committed
Changes in SQL injection check of database library.
1 parent 5049080 commit 68b1465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/db_mysql.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function securityScan($string) {
135135
$string_orig = $string;
136136

137137
//echo $string;
138-
$chars = array(';', '#', '/*', '*/', '--', ' UNION ', '\\\'', '\\"');
138+
$chars = array(';', '#', '/*', '*/', '--', '\\\'', '\\"');
139139

140140
$string = str_replace('\\\\', '', $string);
141141
$string = preg_replace('/(^|[^\\\])([\'"])\\2/is', '$1', $string);

0 commit comments

Comments
 (0)