开发者

Symfony/Doctrine: does model_object->save() filter value? (Prevent SQL injection)

I understand that Doctrine helps against SQL injection attacks. Does the model_object->save() com开发者_Go百科mand automatically escape unwanted characters, or do I have to write a custom input filter? Thanks.


the exact answer to your question can be found in Doctrine manual implicit-validation.

More info can also be found there: Validator and Data Validation.

Regards.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜