Re: practicing safe queries..

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31511
interpreted = N
texte = This is all I am asking.. Do not perform queries that have invalid syntax.. Instead, display an error.. What are the chances of errors displaying line numbers so we don't have to search 1500 lines of code for the missing [/SHOWIF]?Jereme>It could be argued that WebCat should throw an error if a query term was >malformed, instead of silently ignoring it. It would be very bad, IMHO, >if it silently corrected (i.e. eq and datarq), since that would promote >lazy coding and open the door to very difficult bugs. I wouldn't mind >if WebCat refused to process any tag with malformed parameters, since >that would make most typos glaringly obvious, rather than having to >refer >based on the existing behavior. > >Now if WebCat had a debug mode...-- Jereme Claussen jeremec@darkhorse.com Web Developer Dark Horse Comics 503.652.8815.330 http://www.dhorse.com/ I mustn't fear.. Fear is the mime killer..############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: practicing safe queries.. (Thomas Wedderburn-Bisshop 2000)
  2. Re: practicing safe queries.. (Thomas Wedderburn-Bisshop 2000)
  3. Re: practicing safe queries.. (Jereme Claussen 2000)
  4. Re: practicing safe queries.. (Michael Winston 2000)
  5. Re: practicing safe queries.. (Jereme Claussen 2000)
  6. Re: practicing safe queries.. (John Butler 2000)
  7. Re: practicing safe queries.. (Kenneth Grome 2000)
  8. Re: practicing safe queries.. (Jereme Claussen 2000)
  9. Re: practicing safe queries.. (John Peacock 2000)
  10. Re: practicing safe queries.. (Jereme Claussen 2000)
  11. Re: practicing safe queries.. (Michael Winston 2000)
  12. Re: practicing safe queries.. (Kenneth Grome 2000)
  13. practicing safe queries.. (Jereme Claussen 2000)
This is all I am asking.. Do not perform queries that have invalid syntax.. Instead, display an error.. What are the chances of errors displaying line numbers so we don't have to search 1500 lines of code for the missing [/SHOWIF]?Jereme>It could be argued that WebCat should throw an error if a query term was >malformed, instead of silently ignoring it. It would be very bad, IMHO, >if it silently corrected (i.e. eq and datarq), since that would promote >lazy coding and open the door to very difficult bugs. I wouldn't mind >if WebCat refused to process any tag with malformed parameters, since >that would make most typos glaringly obvious, rather than having to >refer >based on the existing behavior. > >Now if WebCat had a debug mode...-- Jereme Claussen jeremec@darkhorse.com Web Developer Dark Horse Comics 503.652.8815.330 http://www.dhorse.com/ I mustn't fear.. Fear is the mime killer..############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Jereme Claussen

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:

Another New Site (1998) Searching for Email Address (2004) Re:Searching for ALL / empty form field (1997) Discounting prices across a site (1997) [subtotal] and others (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Hiding URL ? (1998) WebCat and image maps (1997) Location of Webcat site in folder hierarchy (1997) WebCat editing, SiteGuard & SiteEdit (1997) Accented chars and emailer (1998) Help returning tracking data from USPS website (2004) flushdatabases (2000) Format all of a sudden doesn't work (1997) [WriteFile] problems (1997) Search Question (2000) Authenticate (1999) read and write you own cookies with webcat (1997) LOOP and IF statements (1997) Artwork (1997)