mirror of
https://github.com/vrana/adminer.git
synced 2025-08-21 21:55:43 +02:00
Comments
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1052 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -85,7 +85,7 @@ if (!$error && $_POST) {
|
||||
$offset = strlen($query);
|
||||
}
|
||||
} else { // find matching quote
|
||||
while (preg_match("~$found|\\\\.|\$~s", $query, $match, PREG_OFFSET_CAPTURE, $offset)) {
|
||||
while (preg_match("~$found|\\\\.|\$~s", $query, $match, PREG_OFFSET_CAPTURE, $offset)) { //! respect sql_mode NO_BACKSLASH_ESCAPES
|
||||
$s = $match[0][0];
|
||||
$offset = $match[0][1] + strlen($s);
|
||||
if (!$s || $s == $found) {
|
||||
|
Reference in New Issue
Block a user