Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's why I only allow user input of alphanumeric ascii characters. No need to worry about sanitation then, and you can just remove all the characters that don't match.

(It's a joke, but it is also 100% XSS, SQL injection, etc. safe and future proof)

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: