|
|
@@ -95,7 +95,10 @@ class Sqlsrv 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))) {
|