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

Just as I have no sympathy for programmers forgetting to always call mysql_real_escape_string and setting their encodings right in the old MySQL driver, it's not difficult to get right, but tons of people didn't and it made the web a worse place for everyone.

Plus, they might be able to figure out how to iterate and count an array but they might also figure out how to use implode instead which is less code and programmers tend to be lazy. And suddenly they've opened their app up to SQL injection because they forgot or are unaware they now need to do escaping despite using prepared statements.

And since their app might contain my data, I care about this and not just think "those idiots brought it upon themselves".



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

Search: