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:
member access (2000)
Something Simple (1998)
Internet Explorer 6 Form problems (2005)
Macauth: Dates and No Scripting... (1997)
Integration with SQL (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
Protecting Files (2005)
WebCat2 as a chat server? (1997)
Bug at start of Apache 2 with iTools 7 (2003)
Image maps/Webcat (1997)
WebCatalog 4.0 has been released! (2000)
Strange ThisURL under Linux (2000)
WebCatalog Technical Reference (1997)
international time (1997)
Unexpected error (1997)
[showif],[referrer],[include] in errormessages.db (2002)
Show shoppingcart after remove last item (1997)
Auto Submit (2000)
WC Database Format (1997)
[BULK] [WebDNA] abstraction code can be tricky... (2012)