Would using strip_tags() and {{ message|safe }} be ok? Anyone know for
sure?

On Sep 26, 5:57 pm, 7timesTom <[EMAIL PROTECTED]> wrote:
> I have a public form that's used to email details of stuff on my site
> to an email address.
>
> Here is a snippet of the email received:
>
> Fred says:
> **********************************************************************
> Hi, I thought you&#39;d like this.
> **********************************************************************
>
> How do I prevent escaped chars like this while not endangering
> recipients to any form of javascript or other attack?
>
> Thanks,
> 7timesTom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to