I have a GWT app that reads incoming emails. I need to solve the problem of how to strip out any poorly formatted or even malicious HTML tags from the emails. I do want to be able to render HTML emails like your common email client will, but what would a best practice be for allowing this without allowing for global CSS properties and javascript or anything that may effect the rest of the app? My only idea is to put it into an IFrame... but id like to find something that can just safely strip the text to atleast be friendly enough to be inserted into the page as an HTML widget.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment