3 ms·
Yes, it's the very known issue made public long ago on a lot of serious places, for example: "Weapons of Mass Assignment" by Patrick McKenzie, ACM Queue, March
by acqq 15y ago
Yes, it's the very known issue made public long ago on a lot of serious places, for example:
"Weapons of Mass Assignment" by Patrick McKenzie, ACM Queue, March 2011
http://queue.acm.org/detail.cfm?id=1964843 http://queue.acm.org/detail.cfm?id=1964843
Worse, ten years ago PHP changed the default behavior after suffering from very similar problem:
http://www.sitepoint.com/write-secure-scripts-php-4-2/ http://www.sitepoint.com/write-secure-scripts-php-4-2/
Rails actually needed Egor to initiate change. At first they ignored him:
https://github.com/rails/rails/issues/5228 https://github.com/rails/rails/issues/5228
Now the change can be seen:
http://news.ycombinator.com/item?id=3664459 http://news.ycombinator.com/item?id=3664459