|
|
@@ -109,8 +109,12 @@ class Mysql extends Builder
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ($strict && !preg_match('/^[\w\.\*]+$/', $key)) {
|
|
|
+// if ($strict && !preg_match('/^[\w\.\*]+$/', $key)) {
|
|
|
+// throw new Exception('not support data:' . $key);
|
|
|
+// }
|
|
|
+ if ($strict && !preg_match('/^[\w\.\*\x00-\xff]+$/', $key)) {
|
|
|
throw new Exception('not support data:' . $key);
|
|
|
+
|
|
|
}
|
|
|
if ('*' != $key && ($strict || !preg_match('/[,\'\"\*\(\)`.\s]/', $key))) {
|
|
|
$key = '`' . $key . '`';
|