Re: when is failing to [URL]ize values in a comparison risky?
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25333
interpreted = N
texte = John,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 a variablethat 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?:-)-Johnjpeacock@univpress.com wrote:> It is always safe to URL'ize both sides of a equality comparison, as far as I> know. I have started always doing that (when I can remember), except where I am> typing all data myself. I think that it would be appropriate for PCS to always> URL'ize ShowIf and HideIf comparisons. I cannot think of a single instance> where it would not be correct. The only enhancement I can think of is some way> to force a numeric comparison (stripping any non-numeric characters before> testing).>> HTH>> John Peacock>-------------------------------------------------------------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:
John,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 a variablethat 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?:-)-Johnjpeacock@univpress.com wrote:> It is always safe to URL'ize both sides of a equality comparison, as far as I> know. I have started always doing that (when I can remember), except where I am> typing all data myself. I think that it would be appropriate for PCS to always> URL'ize ShowIf and HideIf comparisons. I cannot think of a single instance> where it would not be correct. The only enhancement I can think of is some way> to force a numeric comparison (stripping any non-numeric characters before> testing).>> HTH>> John Peacock>-------------------------------------------------------------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
John Butler
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:
WebCat b15 Mac plug-in (1997)
UPS charges (2000)
default value from Lookup (was Grant, please help me) (1997)
WebCat name recognition (was MacFinder -- a new WebDNA website) (1998)
Country & Ship-to address & other fields ? (1997)
Setting up shop (1997)
How To question on setting up downloads (1997)
How to implement 'email to a friend' feature? (2002)
!!!! WebCat Programmer Opening for Growth eCommerce Startup!!!! (1999)
Problems with [Applescript] (1997)
A sendmail warning (2005)
[WebDNA] PayPal Instant Payment Notification Guide (2009)
Ok here is a question? (1997)
Notepad problems (1998)
[Replace] (2000)
Webten + Webcat running smooth (1998)
two unique banners on one page (1997)
WebCatalog for Postcards ? (1997)
Search Context: How to set Max=N? (2000)
PCS Emailer's role ? (1997)