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

Which is fine for SQL injection, but completely ignores every other context, of which there are many, and which don't have PDO-like APIs. That's what I meant by PHP getting it wrong. The entire filter pipeline is built to assume you're outputting only to HTML, and it's useless for making data safe for other contexts without completely destroying it.


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

Search: