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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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:
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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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)