Bug report: Insecure variables and SPAWN

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36836
interpreted = N
texte = Important note for anyone using insecure variables and SPAWN: SPAWN does not interpret insecure variables set outside the SPAWN context.Using WebCat 4.0.2rc1 on MacOS X 10.0.3, this code:------[text secure=F]tInsecure=AAAA[/text] [text secure=T]tSecure=BBBB[/text] [AppendFile file=spawntest.txt&secure=F] Before spawn: Insecure=[tInsecure] Secure=[tSecure] [/AppendFile][spawn] [text secure=F]tSpawnInsecure=CCCC[/text] [AppendFile file=spawntest.txt&secure=F] Inside spawn: Insecure=[tInsecure] Secure=[tSecure] Spawn=[tSpawnInsecure] [/AppendFile] [/spawn]------produces this result in the spawntest.txt file:------Before spawn: Insecure=AAAA Secure=BBBBInside spawn: Insecure=[tInsecure] Secure=BBBB Spawn=CCCC------Note that variable [tInsecure] was not interpreted.- brian------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Bug report: Insecure variables and SPAWN (Brian Fries 2001)
Important note for anyone using insecure variables and SPAWN: SPAWN does not interpret insecure variables set outside the SPAWN context.Using WebCat 4.0.2rc1 on MacOS X 10.0.3, this code:------[text secure=F]tInsecure=AAAA[/text] [text secure=T]tSecure=BBBB[/text] [AppendFile file=spawntest.txt&secure=F] Before spawn: Insecure=[tInsecure] Secure=[tSecure] [/AppendFile][spawn] [text secure=F]tSpawnInsecure=CCCC[/text] [AppendFile file=spawntest.txt&secure=F] Inside spawn: Insecure=[tInsecure] Secure=[tSecure] Spawn=[tSpawnInsecure] [/AppendFile] [/spawn]------produces this result in the spawntest.txt file:------Before spawn: Insecure=AAAA Secure=BBBBInside spawn: Insecure=[tInsecure] Secure=BBBB Spawn=CCCC------Note that variable [tInsecure] was not interpreted.- brian------------------------------------------------------------- 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://search.smithmicro.com/ Brian Fries

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:

Date search - yes or no (1997) [writefile] remotely (2000) [math show=f]nuCheck1=[check1]=1[/math] = proper syntax?? (2000) Date search - yes or no (1997) Trouble with listwords (2000) what servers are supported for Typhoon? (1997) Not really WebCat (1997) Requiring that certain fields be completed (1997) RE: OK, here goes... (1997) Migrating to NT (1997) bug in [SendMail] (1997) Webmerchant (1999) [WriteFile] problems (1997) Time Display from Database (1997) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) Custom error files (1998) Repeating Fields (1997) [group] ? (1997) Re:Version 2.0 and 1.6 simultaneous (1997) [WebDNA] testing... (2010)