I have a form and as of right now, you can type any javascript, etc. you want. Any XSS, etc.
How do I go about creating a whitelist so you can only post characters.
At some point I would like anything that starts with http:// to be converted to
<a href="http://..."></a>
Thanks
Is this efficient? http://htmlpurifier.org/