From: Daniel DeLorme Date: 2007-01-23T17:05:57+09:00 Subject: Re: Recursive send Curtis Summers wrote: >> But I then realized that was a major security hole. It allows an attacker >> to post stuff like: >> > By the time the recursive send fails on "something=", the database has >> already been wiped. Well, this example doesn't really work (drop_database >> requires an argument), but you get the idea. > > Well, if you are going to send an unescaped, form submitted value to > rsend, then, yes, that would be a security hole. But that's kind of > like saying you're going to allow an unescaped, client submitted value > to eval--which would be silly. Heheh. True to a certain extent, but while sending an unescaped string to eval is obviously crazy, send seems safer. After all, RoR relies on stuff like