Re:How Homakov hacked GitHub & the line of code that could h...
by thecoffman on Monday March 05, 2012 @10:31AM
(#3666815)
You would modify the hidden form values (or add parameters that didn't exist) depending on the situation. These new/modified parameters would appear in Rails' params hash which would then be passed to the update function which, by default, will update any fields you hand it.
[ Parent
| on HN ]
Re:How Homakov hacked GitHub & the line of code that could h...
by SpoonMeiser on Monday March 05, 2012 @11:53AM
(#3667159)
This really doesn't sound like a problem with the update function, this just sounds like web applications 101 - don't trust user data.