- TP51解决方案:
if ($strict && !preg_match('/^[\w\.\*\x7f-\xff]+$/', $key)) {
throw new Exception('not support data:' . $key);
}
-
具体位置:
image.png
- TP6解决方案:
if ($strict && !preg_match('/^[\w\.\*\x00-\xff]+$/', $key)) {
throw new \think\Exception('not support data:' . $key);
}
-
具体位置:
image.png
网友评论