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

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105343
interpreted = N
texte = Funny it should have been part of the system from the get go ;) I am surprised.=20 On Jun 15, 2010, at 1:18 PM, Donovan Brooke wrote: > Olin Lagon wrote: >> If you are not using commands in the URL (ex: >> = http://yourserver.com/xx.tpl?command=3DSearch&db=3DSomeDatabase.db&eqNAMEd= ata=3DGr >> 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. >=20 >=20 > 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. >=20 > Very creative. > Donovan >=20 >=20 >=20 >=20 >=20 >=20 > --=20 > Donovan Brooke > Euca Design Center > [Practical-Ethical-Efficient] > www.euca.us > egg.bz > artglass-forum.com > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 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)
Funny it should have been part of the system from the get go ;) I am surprised.=20 On Jun 15, 2010, at 1:18 PM, Donovan Brooke wrote: > Olin Lagon wrote: >> If you are not using commands in the URL (ex: >> = http://yourserver.com/xx.tpl?command=3DSearch&db=3DSomeDatabase.db&eqNAMEd= ata=3DGr >> 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. >=20 >=20 > 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. >=20 > Very creative. > Donovan >=20 >=20 >=20 >=20 >=20 >=20 > --=20 > Donovan Brooke > Euca Design Center > [Practical-Ethical-Efficient] > www.euca.us > egg.bz > artglass-forum.com > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 "Mr. Robert Minor Jr."

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:

Can I invoke an ssi plugin from within a webcat page (1997) calculating tax rates, mail order solutions and version 2 (1997) database with 10,000+ web pages stored in it? (2000) A Global Variable (1997) PCS Emailer's role ? (1997) Trouble with formula.db + more explanation (1997) syntax question, not in online refernce (1997) Include files (1998) Why doesn't it change? (1998) Is this too many webcat processes? (I don't know how to read this) (2000) Nested Loops and SHOWIFs (1997) SET (1998) InternetWeek E-Commerce article (1998) A quickie question (1997) Error Template (1999) Width & Height (1998) Removing [showif] makes a big difference in speed (1997) [WebDNA] Seriously what is wrong here? (2011) Need help with emailer- 2 issues (1997) Browser Info.txt (1997)