Re: DOS variable bug (was SandBox and ImageMagick)

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50841
interpreted = N
texte = Dave Hurley wrote: > This seems to be a problem with the [shell] context as well. When I try > to run the script > > cd folder > zip ../[folder] * > > in a sandbox using this notation: [shell > scriptID=4&folder=[zipFolder]][/shell] > > it creates a file called [folder].zip instead of the contents of the > folder variable. Same problem if I use zip ../folder * > > If this will be fixed in 5.0.1, do you know when that will be released? > The sandbox changes for [shell] don't document any parameters being passed, so I am not sure how you got the idea you could pass parameters in like that. The whole point of the sandbox changes is to maximize the security by requiring all scripts being vetted by the administrator and run out of a database. Passing parameters to embedded contexts would severely degrade that security.John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: DOS variable bug (was SandBox and ImageMagick) (John Peacock 2003)
  2. Re: DOS variable bug (was SandBox and ImageMagick) (Dave Hurley 2003)
  3. Re: DOS variable bug (was SandBox and ImageMagick) (John Peacock 2003)
  4. Re: DOS variable bug (was SandBox and ImageMagick) (Dave Hurley 2003)
  5. DOS variable bug (was SandBox and ImageMagick) (Dave Hurley 2003)
Dave Hurley wrote: > This seems to be a problem with the [shell] context as well. When I try > to run the script > > cd folder > zip ../[folder] * > > in a sandbox using this notation: [shell > scriptID=4&folder=[zipFolder]][/shell] > > it creates a file called [folder].zip instead of the contents of the > folder variable. Same problem if I use zip ../folder * > > If this will be fixed in 5.0.1, do you know when that will be released? > The sandbox changes for [shell] don't document any parameters being passed, so I am not sure how you got the idea you could pass parameters in like that. The whole point of the sandbox changes is to maximize the security by requiring all scripts being vetted by the administrator and run out of a database. Passing parameters to embedded contexts would severely degrade that security.John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) HELP-1!!! (1998) Include a big block of text (1997) Credit Card Checking?? (1998) Placement of .tpl files? (2000) Showing Results Alphabetically in Columns (top to bottom) (2002) Deleting Orders (1998) View order not right (1997) WebCat2 - [include] tags (1997) RAM variables (1997) Public Beta for WebCatalog 4.0 is Available (2000) Sort Order on a page search (1997) [WebDNA] showif/sendmail question (2008) Nested vs conditional (1997) Bug when including a db file & [platform] (2000) more trouble with [showif] in [search] = busted [shownext] (2000) FYI-Upcoming Authorize.Net Payment Gateway Enhancements andChang (2002) Set Header Context (1998) cart ID (1998) Changing RAM-cached browser values ... (2000)