by Jebus · 14y ago · 0 comments
And I have noticed this pattern:
In PHP frameworks, creating an object with raw $_POST is as common as in Rails (params), because it's faster for the developer. Of course, it's a known bad practice, and is discouraged.
The difference is that when a php developer makes this mistake, people say it's because php developers are all noobs and php is crap.
Now, when a Rails developer makes the very same mistake, it gets fancy names like 'mass assignment vulnerability', and by what I read in the comments on github, they are fully convinced that no other framework has this 'vulnerability', because no other framework has this feature of 'mass asignment'.
Of course, that GitHub should get caught by it is alarming.
They've got some talented people, but I'm guessing from their posts speaking of how they work that they don't have much in the way of code review.