top-think / think-orm

Think ORM——the PHP Database&ORM Framework
Apache License 2.0
413 stars 171 forks source link

3.0.15中修复json字段导致无法过滤非法字段 #586

Closed 2606062632 closed 2 months ago

2606062632 commented 2 months ago

image

这个is_null的判断放在上面就没办法过滤非法字段了,传一个不存在的字段不如:aaaaa=null,就走不到下面的字段过滤了呀?最终得出的data就是个带有不存在的字段aaaaa了。之前版本都会走到下面过滤掉。

big-dream commented 2 months ago

可以先回退到 3.0.14

composer require topthink/think-orm:3.0.14

问题将在后面进行确认

liu21st commented 2 months ago

这个问题最新开发版应该修正过的