By nate: "All database inputs are automatically escaped when you save.". Is this true for the "query" method also? If not, what type of sanitization should I made if using the query method in some inserts or updates?
thanks! On Mar 8, 11:46 am, cronet <[EMAIL PROTECTED]> wrote: > Hi Nate, > > thank you for examine my problem... > > I thought I've read anywhere that cake does not santize data > automatically on a save action. Thats why I thought i need to build a > method in app_model.php which does this automatically. > > If cake escapes automatically then all its fine. I delete my method > and it will work properly... > > Thank you! > > Regards, > Alexander > > On 4 Mrz., 00:52, nate <[EMAIL PROTECTED]> wrote: > > > All database inputs are automatically escaped when you save. What are > > you trying tosanitizefor exactly? If you continue to have problems, > > try using debug() to examine the data before and after sanitizing to > > see what the differences are. > > > On Mar 3, 6:42 pm, cronet <[EMAIL PROTECTED]> wrote: > > > > Nobody else having problems with sanitzing data and validate on save ? > > > > I'm still having this problem. I would like to know how to get my data > > > mysql safe and validating correctly. > > > Anybody has some hints for me? > > > > Regards, > > > Alexander --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
