h() is cake's wrapper for htmlspecialchars() http://book.cakephp.org/view/121/Global-Functions#h-703
2009/7/20 Bs <sommerf...@hs-heilbronn.de> > > Hi, > > thanks for your answer. What do you mean by "h() function"? > > > > On 17 Jul., 19:13, "Dr. Loboto" <drlob...@gmail.com> wrote: > > 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 forSanitize::clean() at all. > > > > On Jul 17, 6:34 pm, Bs <sommerf...@hs-heilbronn.de> wrote: > > > > > Hi, > > > > > I'm usingSanitize::clean tosanitizemy 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 -~----------~----~----~----~------~----~------~--~---