Hello,

Just a little question, if I get a parameter in a method, like

function index($id==null) {
 $this->post->findById($id);
}

Do I have to sanitize $id? I just thought that CakePHP protects params
from being used for SQL-injections of any kind, doesn't it?

Thanks in advance,
mee
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to