Hacker News new | ask | show | jobs
by mp4box 4245 days ago
Off-topic: You might wanna sanitize user input

http://www.aggreddit.com/?r=%3Cscript%3Ealert%28%27xss%27%29...

1 comments

Thanks! Should be fixed now.
Yikes. :)

OP, you might want to check out HTML Purifier (if you're using PHP) and htmlentities().