Can you give us snippets of your code, so we can see how you're using
sanitize and html helper?
Are you using Cake 1.2?

BTW, sanitize doesn't use htmlentities, it uses a specific REGEX match,
appears it functions similar to htmlentities (just fyi :-) )

On 6/26/07, mac joost <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> When I use Sanitize to clean user-input and then create a form using
> the html helper, 'special characters' like '&' get double converted:
> - Sanitize converts '&' into '&amp;', which is then stored in the
> database.
> - html helper functions convert '&amp;' into '&amp;amp;'.
>
> I would like to use both these functionalities of CakePHP, but this
> doesn't work for me. Any suggestions?
>
> Thanks!
>
> -- joost
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to