in reply to Removing malicious HTML entities (now with more questions!)

To second what dHarry says, how safe do you want it to be? You seem to be covering the basics pretty well, but if you're really worried about security beyond that, you might consider using SSL to encrypt the connection. CPAN can help you here.
  • Comment on Re: Removing malicious HTML entities (now with more questions!)