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 both sides.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 bbb exactly. If you are concerned about uninitialized variables, you should also examine your code and decide whether you should be setting them to some know value 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 risky Author: (WebCatalog Talk) Date: 12/9/99 12:22 PMJohn,I have been avoiding [URL]izing unless there was a chance of someone inputting a comparioson char because of when there maybe some character in the value for a variable that 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 you know? :-) -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:

    
  1. Re[2]: when is failing to [URL]ize values in a comparison ri (Kenneth Grome 1999)
  2. Re[2]: when is failing to [URL]ize values in a comparison ri (jpeacock@univpress.com 1999)
  3. Re[2]: when is failing to [URL]ize values in a comparison ri (jpeacock@univpress.com 1999)
  4. Re[2]: when is failing to [URL]ize values in a comparison ri (jpeacock@univpress.com 1999)
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 both sides.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 bbb exactly. If you are concerned about uninitialized variables, you should also examine your code and decide whether you should be setting them to some know value 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 risky Author: (WebCatalog Talk) Date: 12/9/99 12:22 PMJohn,I have been avoiding [url]izing unless there was a chance of someone inputting a comparioson char because of when there maybe some character in the value for a variable that 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 you know? :-) -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:

Navigator 4.01 (1997) Big Databases (1997) Non-repeating Random Numbers - CORRECTION (2002) OT: Where to turn (2003) Further on formula.db failure to calculate shipCost (1997) taxrate - off by 1 cent (1997) Attention all list readers (1997) Fwd: [WebDNA] Add to Cart,/ show cart: unable to access page (2016) search form problem.. (1997) Listserver problem (1997) Client-side Image Maps and WebCat (what's a database-drivensite)? (1998) Writefile outside WebSTAR hierarchy? (1997) Multiple appends with checkboxes (1998) problems with 2 tags (1997) Add message to Order (1997) Freeze (2003) Help name our technology! (1997) WebCatalog for Postcards ? (1997) form data submission gets truncated (1997) [Shownext] (1997)