I personally validate data before save and output it on pages through h () function. That's all. No modification of user data. With such approach I do not see use for Sanitize::clean() at all.
On Jul 17, 6:34 pm, Bs <sommerf...@hs-heilbronn.de> wrote: > Hi, > > I'm using Sanitize::clean to sanitize my user data on a registration > page after this tutorial: > > http://www.jonnyreeves.co.uk/2008/06/cakephp-activating-user-account-... > > Like mentioned in an much older thread, the sanitizer replaces the > hyphens in email addresses for some reason: > > http://groups.google.de/group/cake-php/browse_thread/thread/d0debc94f... > > Are there any new methods to fix this behaviour than writing an own > method which afterwards brings the hyphens back again? Will this > possibly be fixed in a future cakephp release? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---