Re: [WebDNA] Putting '&search' into URL killing all search contexts

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105342
interpreted = N
texte = Olin Lagon wrote: > If you are not using commands in the URL (ex: > http://yourserver.com/xx.tpl?command=Search&db=SomeDatabase.db&eqNAMEdata=Gr > ant), you can fix this easily by putting the following into your Pre-Parse > Script: > > [showif [search]![raw][search][/raw]] > [redirect /] > [/showif] > > If the variable search is defined at all, the request is rerouted to the > page of your choice, in this case your homepage. Olin.. excellent.. as with Brian's code, you can add to that list any context in which you may feel would lead to some compromise of information... for instance, if don't want to reveal database names.. append, replace, search etc.. could be added. Same for encryption seeds or showif's with hardcoded usename/password checks or something. Very creative. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites ("Mr. Robert Minor Jr." 2010)
  2. Re: [WebDNA] Putting '&search' into URL killing all search (Alex McCombie 2010)
  3. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Govinda 2010)
  4. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Donovan Brooke 2010)
  5. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Donovan Brooke 2010)
  6. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Govinda 2010)
  7. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (christophe.billiottet@webdna.us 2010)
  8. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Donovan Brooke 2010)
  9. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (christophe.billiottet@webdna.us 2010)
  10. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Marc Thompson 2010)
  11. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Govinda 2010)
  12. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (christophe.billiottet@webdna.us 2010)
  13. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Tom Duke 2010)
  14. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Brian Fries 2010)
  15. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Govinda 2010)
  16. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Kenneth Grome 2010)
  17. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Govinda 2010)
  18. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Tom Duke 2010)
  19. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Donovan Brooke 2010)
  20. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Tom Duke 2010)
  21. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites ("Mr. Robert Minor Jr." 2010)
  22. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Donovan Brooke 2010)
  23. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Tom Duke 2010)
  24. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Brian Fries 2010)
  25. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Tom Duke 2010)
  26. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Kenneth Grome 2010)
  27. RE: [WebDNA] Putting '&search' into URL killing all search contexts on my sites ("Olin Lagon" 2010)
  28. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (christophe.billiottet@webdna.us 2010)
  29. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Stuart Tremain 2010)
  30. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Donovan Brooke 2010)
  31. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Stuart Tremain 2010)
  32. Re: [WebDNA] Putting '&search' into URL killing all search contexts (Tom Duke 2010)
  33. Re: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (christophe.billiottet@webdna.us 2010)
  34. [WebDNA] Putting '&search' into URL killing all search contexts on my sites (Tom Duke 2010)
Olin Lagon wrote: > If you are not using commands in the URL (ex: > http://yourserver.com/xx.tpl?command=Search&db=SomeDatabase.db&eqNAMEdata=Gr > ant), you can fix this easily by putting the following into your Pre-Parse > Script: > > [showif [search]![raw][search][/raw]] > [redirect /] > [/showif] > > If the variable search is defined at all, the request is rerouted to the > page of your choice, in this case your homepage. Olin.. excellent.. as with Brian's code, you can add to that list any context in which you may feel would lead to some compromise of information... for instance, if don't want to reveal database names.. append, replace, search etc.. could be added. Same for encryption seeds or showif's with hardcoded usename/password checks or something. Very creative. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Donovan Brooke

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:

FEW QUESTIONS (1997) Initiating NewCart (1997) Pithy questions on webcommerce & siteedit (1997) PCS Frames (1997) One more time (1997) [WebDNA] math variables bug in OSX 7.0 / 7.1 (2012) [OT] OSX (unix) favorite text editor. (2002) WebCat2_Mac RETURNs in .db (1997) Referrer field to header field conversion (1997) Part Html part WebDNA (1997) [WebDNA] [OT] Steve Jobs (2011) Configuring E-mail (1997) Protecting Files (2005) How do you hide [math]stuff[/math] (1997) [WebDNA] search comparison: ends with (2016) Intermitent problem using [referrer] (1997) setitems, one more thing (1997) NT License trade for Mac (2000) Search in 2 or more catalogs (1997) SetHeader context (1998)