Re: [MIDDLE %22] Broken

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47373
interpreted = N
texte = All WebDNA tag parameters are internally [unurl]ed before they are used, so in TEST4, WebDNA converts the %22 in the MIDDLE tag to a quote, then correctly fails to find that quote in the string.These examples will all extract Bob was here:[MIDDLE startafter=[url]%22[/url]&endbefore=[url]%22[/url]]%22Bob was here%22[/MIDDLE] [MIDDLE startafter=[url][/url]&endbefore=[url][/url]]Bob was here[/MIDDLE] [MIDDLE startafter=%22&endbefore=%22]Bob was here[/MIDDLE] [MIDDLE startafter=%22&endbefore=%22][unurl]%22Bob was here%22[/unurl][/MIDDLE]- BrianOn Monday, February 3, 2003, at 09:02 AM, Chris List Recipient wrote:> TEST 1 (correct): [MIDDLE startafter=&endbefore=]Bob was > here[/MIDDLE] > TEST 2 (correct): [MIDDLE startafter=%&endbefore=%]%22Bob was > here%22[/MIDDLE] > TEST 3 (correct): [MIDDLE startafter=22&endbefore=22]%22Bob was > here%22[/MIDDLE] > TEST 4 (broken): [MIDDLE startafter=%22&endbefore=%22]%22Bob was > here%22[/MIDDLE] ------------------------------------------------------------- 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:

    
All WebDNA tag parameters are internally [unurl]ed before they are used, so in TEST4, WebDNA converts the %22 in the MIDDLE tag to a quote, then correctly fails to find that quote in the string.These examples will all extract Bob was here:[MIDDLE startafter=[url]%22[/url]&endbefore=[url]%22[/url]]%22Bob was here%22[/MIDDLE] [MIDDLE startafter=[url][/url]&endbefore=[url][/url]]Bob was here[/MIDDLE] [MIDDLE startafter=%22&endbefore=%22]Bob was here[/MIDDLE] [MIDDLE startafter=%22&endbefore=%22][unurl]%22Bob was here%22[/unurl][/MIDDLE]- BrianOn Monday, February 3, 2003, at 09:02 AM, Chris List Recipient wrote:> TEST 1 (correct): [MIDDLE startafter=&endbefore=]Bob was > here[/MIDDLE] > TEST 2 (correct): [MIDDLE startafter=%&endbefore=%]%22Bob was > here%22[/MIDDLE] > TEST 3 (correct): [MIDDLE startafter=22&endbefore=22]%22Bob was > here%22[/MIDDLE] > TEST 4 (broken): [MIDDLE startafter=%22&endbefore=%22]%22Bob was > here%22[/MIDDLE] ------------------------------------------------------------- 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/ 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:

WebMerchant 3.0 for Mac shipping now (1998) Windows 2.1b2 Append Bug? (1997) [OT] (waaaay OT) (2004) searching multiple databases in single search (1997) converting tabs (1997) Bug or syntax error on my part? (1997) Re(7): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Don't tick me off :) [elaspedtime] (1997) OT - New Ti Books (2002) Answer: WebDelivery downloads alias, not original ? (1997) Inventory Control (2000) process SSI (1998) creating a ShipCosts database (1997) summ=T (2003) BR (1997) Re:HTTP header line is too long? (1997) PCS Frames (1997) MAC versions of WebCatalog 2.1 and WebMerchant 2.1 (1998) sandboxes with 6.0 (2004) OSX SubAdmin Templates (2000)