When sending data to Model::find or Model::read, e.g. when I want to load a record like:
$this->MyModel->read(null, $id);
I usually wrap the $id in intval(); to protect from unintended or malicious use.
Is this necessary? Does anyone know what cake does to conditions and fields inside a Model::find() query?
PS: I use cakephp bare, no custom setup done, as far as models go.