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:

HELP WITH DATES (1997) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) A helpful tip to avoid pulling an Aaron OT (2000) Speed Admin? (Was FlushDatabases) (1997) Looking up two prices in database? (1997) Encyption mail was Suggestions for Topics ... (1998) I've been framed by webcatalog! Does anyone know the way out? (2000) counting characters and/or words (1997) RE: How much ram??? (1997) Bug Report, maybe (1997) Tab Charactor (1997) Lookup Notfound (1998) A multi-processor savvy WebCatalog? (1997) Secure Server (1999) webcat/webmerchant docs (1997) webcatalog for linux (1998) SQL Errors (2003) Avery 5160 Mailing Labels (2003) WCf2 and nested tags (1997) Add to Cart & List of Products (1997)