Model::update() is dangerous |
Okay, I wrote another controller. You cannot set $id to null. But it is still vulnerable.
https://github.com/kenjis/ci4-model-upda...#L103-L123 PHP Code: public function postUpdate($id = false) |
Welcome Guest, Not a member yet? Register Sign In |