News for hackers. Stuff that matters.
Re:"Egor, stop hacking Github" by nirvdrum on Sunday March 04, 2012 @02:06PM (#3663556)
Serious question: how is that any different than leaving SQL injection points in place and then just documenting it?
Re:"Egor, stop hacking Github" by vijaydev on Sunday March 04, 2012 @02:31PM (#3663661)
If an app makes it possible to do SQL injections, whose fault is it?

What Rails have done is to have a particular default (whose correctness can be debated) and document how it can be exploited and how to safeguard from it.

Re:"Egor, stop hacking Github" by nirvdrum on Sunday March 04, 2012 @02:38PM (#3663680)
You didn't really answer my question. Rails has all the helpers in place to sanitize input for SQL injection. Why in that case do they apply the defaults and not do so in this case? They both amount to making unwanted DB modifications.