Template Security error

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14088
interpreted = N
texte = Just a note about a somewhat erroneous error message I received the other day...I had a link that send the user to a page via Clickwhere I was passing along both the name of the database and the current category. Unfortunately, I had forgotten to pass the db parameter to that page, so the link ended up reading ClickIn other words, the value of db was, literally, [db].I had template security preferences set up to serve any and all filename extensions, but the _database_ security prefs would only serve .db and .txt files.Nonetheless, clicking on the link above generated an error that states Template security preferences will not allow...implying that I was somehow requesting a _page_ with an invalid suffix. But since I wasn't using template security, that couldn't have been the issue. In the end, it was the _database suffix security_ that was the problem...it saw my link and tried to find a file ending in [db], which wasn't a valid suffix.Something to fix in the error message for the next rev? OK, so I wouldn't have had this problem if I'd sent the db parameter properly, but the error message kept point me in the wrong direction to find the cause of the problem...Just a tip in case anyone runs into this in the future!spud. ------------------------------------------------------------------------- a.h.s. boy ---------------------- manifesto overlord, dada typographics spud@nothingness.org ------- http://www.nothingness.org/ Now featuring Social Anarchism and the Situationist International archives J'suis l'enfant de l'etat, et je me bats contre ca Associated Messages, from the most recent to the oldest:

    
  1. Re: MacOS9 plugin 4.0.2b5 template security error (Dale LaFountain 2000)
  2. Re: MacOS9 plugin 4.0.2b5 template security error (Grant Hulbert 2000)
  3. Re: MacOS9 plugin 4.0.2b5 template security error (Grant Hulbert 2000)
  4. Re: MacOS9 plugin 4.0.2b5 template security error (Dale LaFountain 2000)
  5. Re: MacOS9 plugin 4.0.2b5 template security error (Sam Lewis 2000)
  6. MacOS9 plugin 4.0.2b5 template security error (Dale LaFountain 2000)
  7. Re: Template Security error (a.h.s. boy 1997)
  8. Re: Template Security error (Grant Hulbert 1997)
  9. Template Security error (a.h.s. boy 1997)
Just a note about a somewhat erroneous error message I received the other day...I had a link that send the user to a page via Clickwhere I was passing along both the name of the database and the current category. Unfortunately, I had forgotten to pass the db parameter to that page, so the link ended up reading ClickIn other words, the value of db was, literally, [db].I had template security preferences set up to serve any and all filename extensions, but the _database_ security prefs would only serve .db and .txt files.Nonetheless, clicking on the link above generated an error that states Template security preferences will not allow...implying that I was somehow requesting a _page_ with an invalid suffix. But since I wasn't using template security, that couldn't have been the issue. In the end, it was the _database suffix security_ that was the problem...it saw my link and tried to find a file ending in [db], which wasn't a valid suffix.Something to fix in the error message for the next rev? OK, so I wouldn't have had this problem if I'd sent the db parameter properly, but the error message kept point me in the wrong direction to find the cause of the problem...Just a tip in case anyone runs into this in the future!spud. ------------------------------------------------------------------------- a.h.s. boy ---------------------- manifesto overlord, dada typographics spud@nothingness.org ------- http://www.nothingness.org/ Now featuring Social Anarchism and the Situationist International archives J'suis l'enfant de l'etat, et je me bats contre ca a.h.s. boy

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:

Simple Database close connection (2001) Generating Report Totals (1997) Faxing orders in place of email (1997) Strange search... (2000) [WebDNA] [announce] WebDNA Site and Store (2008) Parameter Problem (1998) Exclamation point (1997) BR (1997) RePost: NAT and the CART (1999) Deleting Orders (1997) Webstar 1.3.1 PPC (1997) [WebDNA] Search Question (2009) WCS Newbie question (1997) [WebDNA] WebDNA FastCGI (2012) legal html [ConvertChars] (2007) Context and commands (1998) Problems with date math (1997) emailer (1997) syntax question, not in online refernce (1997) ShowNext for method=POST (1997)