On Wed, Oct 22, 2008 at 6:55 AM, Brett Morgan <[EMAIL PROTECTED]> wrote: > > > On Wed, Oct 22, 2008 at 9:54 PM, Parth Malwankar <[EMAIL PROTECTED]> > wrote: >> >> >> >> On Oct 22, 3:42 pm, Parth Malwankar <[EMAIL PROTECTED]> wrote: >> > On Oct 22, 1:30 pm, "Brett Morgan" <[EMAIL PROTECTED]> wrote: >> > >> > - Recently the #= reader macro was added. This makes the reader >> > do the evaluation before using the value. You may want to >> > disable this. E.g. >> > >> > user=> #=(+ 1 1) >> > 2 >> > >> > I am not sure how to disable this. There is a >> > similar thing #. in CL and it is important to disable it before >> > reading potentially unsafe expressions. Maybe Rich or someone >> > else can comment on how to disable this. >> > >> >> Oops. The example I meant to give was: >> user=> `(+ 1 1) >> (clojure/+ 1 1) >> user=> `#=(+ 1 1) >> 2 > > That's actually exactly the style of security breach capability that i was > worried about. Thank you =) >
There will be a flag to disable #= while reading. Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---