Re[2]: when is failing to [URL]ize values in a comparison ri
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25334
interpreted = N
texte = Read my e-mail again; it is always safe to URLize _both sides_ of a comparison. Even if you are typing in text as the comparison value, you can wrap it with[URL][/URL] since then you know that the same transformation has occured on bothsides.In your example, it would look like: [Showif [URL][aaa][/URL]=[URL]bbb[/URL]]...[/ShowIf]and would not be true unless the field [aaa] contained the string value bbbexactly. If you are concerned about uninitialized variables, you should alsoexamine your code and decide whether you should be setting them to some knowvalue on the page before you test them. Hope this makes it clearer...John Peacock____________________Reply Separator____________________Subject: Re: when is failing to [URL]ize values in a comparison riskyAuthor:
(WebCatalog Talk)Date: 12/9/99 12:22 PMJohn,I have been avoiding [URL]izing unless there was a chance of someone inputting acomparioson char because of when there maybe some character in the value for avariablethat I do not want to get [URL]ized, like so-[showif [URL][aaa][/URL]=bbb] resolving as [showif %5baaa%5d=(bbb's value)] when [aaa]had no value.So I want to know under what condition webcat *will crash* when I do not[URL]ize. Do youknow?:-)-John-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Associated Messages, from the most recent to the oldest:
Read my e-mail again; it is always safe to URLize _both sides_ of a comparison. Even if you are typing in text as the comparison value, you can wrap it with[url][/URL] since then you know that the same transformation has occured on bothsides.In your example, it would look like: [Showif [url][aaa][/URL]=[url]bbb[/URL]]...[/ShowIf]and would not be true unless the field [aaa] contained the string value bbbexactly. If you are concerned about uninitialized variables, you should alsoexamine your code and decide whether you should be setting them to some knowvalue on the page before you test them. Hope this makes it clearer...John Peacock____________________Reply Separator____________________Subject: Re: when is failing to [url]ize values in a comparison riskyAuthor: (WebCatalog Talk)Date: 12/9/99 12:22 PMJohn,I have been avoiding [url]izing unless there was a chance of someone inputting acomparioson char because of when there maybe some character in the value for avariablethat I do not want to get [url]ized, like so-[showif [url][aaa][/URL]=bbb] resolving as [showif %5baaa%5d=(bbb's value)] when [aaa]had no value.So I want to know under what condition webcat *will crash* when I do not[url]ize. Do youknow?:-)-John-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
jpeacock@univpress.com
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:
WebCatalog Features (1997)
form validator issue (2005)
Cookie still not working (1999)
[OT] SSL (2003)
emailer (1997)
[WebDNA] add rows dynamically (2018)
Help with database strategy (1998)
[OT] (waaaay OT) further off topic than before (2004)
select multiple 2 more cents (1997)
WebCat2b15MacPlugin - [protect] (1997)
[WebDNA] mac os for wc 6.0 (2008)
Re[2]: Problems with WebCat (2000)
WebDNA Solutions ... sorry! (1997)
More questions about serial number dishing (1997)
[BULK] [WebDNA] [BULK] Mac OS X LION has no FastCGI (2011)
WebCat2 - storing unformatted date data? (1997)
[Way OT] Workstation Security (2002)
Logging purchases (1997)
Banners and sort of random display (1997)
[WebDNA] path traversal (2020)